joystickPagination: Show the pagination even if there's nothing to page
refs #2640
This commit is contained in:
parent
bc398bc8df
commit
568d473c40
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue