1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-07 15:26:54 +02:00
This commit is contained in:
Ryan Cramer
2024-12-23 11:52:06 -05:00
parent 1f7d039b3e
commit 16d70048c1

View File

@@ -2011,7 +2011,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
$table = $this->buildListerTable($results);
$tableOut = $table->render();
$headline = sprintf($this->_('%1$d to %2$d of %3$d'), $start+1, $end, $total);
if($total > $limit) {
if($limit > 0 && $total > $limit) {
/** @var MarkupPagerNav $pager */
$pager = $this->wire()->modules->get('MarkupPagerNav');
$pagerOut = $pager->render($results);