From 568d473c401cb463cb7c5f1e4a860e7bc10f0d98 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 7 May 2018 14:10:03 +0200 Subject: [PATCH] joystickPagination: Show the pagination even if there's nothing to page refs #2640 --- application/views/scripts/joystickPagination.phtml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/application/views/scripts/joystickPagination.phtml b/application/views/scripts/joystickPagination.phtml index cd2555c47..ae3e157bb 100644 --- a/application/views/scripts/joystickPagination.phtml +++ b/application/views/scripts/joystickPagination.phtml @@ -2,10 +2,6 @@ use Icinga\Web\Url; -if ($xAxisPaginator->count() <= 1 && $yAxisPaginator->count() <= 1) { - return; // Display this pagination only if there are multiple pages -} - $showText = $this->translate('%s: Show %s %u to %u out of %u', 'pagination.joystick'); $xAxisPages = $xAxisPaginator->getPages('all'); $yAxisPages = $yAxisPaginator->getPages('all');