Resolved gh-165 pagination issue thanks @kevincam3

This commit is contained in:
2017-11-03 23:57:15 +02:00
parent 0976f79940
commit 87de251f2e
262 changed files with 262 additions and 262 deletions

View File

@ -3539,7 +3539,7 @@ class Interpretation extends Fields
$this->placeholders['[[[LIMITBOX]]]'] = '<?php echo $this->pagination->getLimitBox(); ?>';
}
$body[] = $this->setPlaceholders($view['settings']->default, $this->placeholders);
$body[] = PHP_EOL.'<?php if (isset($this->items) && '.$this->fileContentStatic['###component###'].'Helper::checkArray($this->items) && count($this->items) > 4): ?>';
$body[] = PHP_EOL.'<?php if (isset($this->items) && isset($this->pagination) && isset($this->pagination->pagesTotal) && $this->pagination->pagesTotal > 1): ?>';
$body[] = '<form name="adminForm" method="post">';
$body[] = "\t".'<div class="pagination">';
$body[] = "\t\t".'<?php if ($this->params->def(\'show_pagination_results\', 1)) : ?>';