mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +02:00
Fix issue processwire/processwire-issues#1934
This commit is contained in:
@@ -2011,7 +2011,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
|||||||
$table = $this->buildListerTable($results);
|
$table = $this->buildListerTable($results);
|
||||||
$tableOut = $table->render();
|
$tableOut = $table->render();
|
||||||
$headline = sprintf($this->_('%1$d to %2$d of %3$d'), $start+1, $end, $total);
|
$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 */
|
/** @var MarkupPagerNav $pager */
|
||||||
$pager = $this->wire()->modules->get('MarkupPagerNav');
|
$pager = $this->wire()->modules->get('MarkupPagerNav');
|
||||||
$pagerOut = $pager->render($results);
|
$pagerOut = $pager->render($results);
|
||||||
|
Reference in New Issue
Block a user