ADD pagination for all table lists

This commit is contained in:
2023-11-01 08:06:41 +01:00
parent 3f72ee89ca
commit 616bf0ca31
9 changed files with 14 additions and 8 deletions

View File

@ -33,7 +33,8 @@ class HtmlView extends BaseHtmlView
// list order
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
// add pagination
$this->pagination = $this->get('Pagination');
// adding filters
$this->filterForm = $this->get('FilterForm');
$this->activeFilters = $this->get('ActiveFilters');

View File

@ -33,6 +33,8 @@ class HtmlView extends BaseHtmlView
// list order
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
// add pagination
$this->pagination = $this->get('Pagination');
// adding filters
$this->filterForm = $this->get('FilterForm');

View File

@ -33,7 +33,8 @@ class HtmlView extends BaseHtmlView
// list order
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
// add pagination
$this->pagination = $this->get('Pagination');
// adding filters
$this->filterForm = $this->get('FilterForm');
$this->activeFilters = $this->get('ActiveFilters');

View File

@ -33,6 +33,8 @@ class HtmlView extends BaseHtmlView
// list order
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
// add pagination
$this->pagination = $this->get('Pagination');
// adding filters
$this->filterForm = $this->get('FilterForm');
$this->activeFilters = $this->get('ActiveFilters');

View File

@ -84,7 +84,7 @@ use Joomla\CMS\Layout\LayoutHelper;
<?php endforeach; ?>
</tbody>
</table>
<?php echo $this->pagination->getListFooter(); ?>
<?php endif; ?>
<input type="hidden" name="task" value="">

View File

@ -96,7 +96,7 @@ use Joomla\CMS\Layout\LayoutHelper;
<?php endforeach; ?>
</tbody>
</table>
<?php echo $this->pagination->getListFooter(); ?>
<?php endif; ?>
<input type="hidden" name="task" value="">

View File

@ -138,7 +138,7 @@ use Joomla\CMS\Layout\LayoutHelper;
<?php endforeach; ?>
</tbody>
</table>
<?php echo $this->pagination->getListFooter(); ?>
<?php endif; ?>
<input type="hidden" name="task" value="">

View File

@ -98,7 +98,7 @@ use Joomla\CMS\Layout\LayoutHelper;
<?php endforeach; ?>
</tbody>
</table>
<?php echo $this->pagination->getListFooter(); ?>
<?php endif; ?>
<input type="hidden" name="task" value="">