joystickPagination: Show the pagination even if there's nothing to page

refs #2640
This commit is contained in:
Johannes Meyer 2018-05-07 14:10:03 +02:00
parent bc398bc8df
commit 568d473c40
1 changed files with 0 additions and 4 deletions

View File

@ -2,10 +2,6 @@
use Icinga\Web\Url; 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'); $showText = $this->translate('%s: Show %s %u to %u out of %u', 'pagination.joystick');
$xAxisPages = $xAxisPaginator->getPages('all'); $xAxisPages = $xAxisPaginator->getPages('all');
$yAxisPages = $yAxisPaginator->getPages('all'); $yAxisPages = $yAxisPaginator->getPages('all');