ADD pagination for all table lists
This commit is contained in:
parent
3f72ee89ca
commit
616bf0ca31
@ -33,7 +33,8 @@ class HtmlView extends BaseHtmlView
|
|||||||
// list order
|
// list order
|
||||||
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
||||||
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
||||||
|
// add pagination
|
||||||
|
$this->pagination = $this->get('Pagination');
|
||||||
// adding filters
|
// adding filters
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
$this->activeFilters = $this->get('ActiveFilters');
|
$this->activeFilters = $this->get('ActiveFilters');
|
||||||
|
@ -33,6 +33,8 @@ class HtmlView extends BaseHtmlView
|
|||||||
// list order
|
// list order
|
||||||
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
||||||
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
||||||
|
// add pagination
|
||||||
|
$this->pagination = $this->get('Pagination');
|
||||||
|
|
||||||
// adding filters
|
// adding filters
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
|
@ -33,7 +33,8 @@ class HtmlView extends BaseHtmlView
|
|||||||
// list order
|
// list order
|
||||||
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
||||||
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
||||||
|
// add pagination
|
||||||
|
$this->pagination = $this->get('Pagination');
|
||||||
// adding filters
|
// adding filters
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
$this->activeFilters = $this->get('ActiveFilters');
|
$this->activeFilters = $this->get('ActiveFilters');
|
||||||
|
@ -33,6 +33,8 @@ class HtmlView extends BaseHtmlView
|
|||||||
// list order
|
// list order
|
||||||
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
||||||
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
||||||
|
// add pagination
|
||||||
|
$this->pagination = $this->get('Pagination');
|
||||||
// adding filters
|
// adding filters
|
||||||
$this->filterForm = $this->get('FilterForm');
|
$this->filterForm = $this->get('FilterForm');
|
||||||
$this->activeFilters = $this->get('ActiveFilters');
|
$this->activeFilters = $this->get('ActiveFilters');
|
||||||
|
@ -84,7 +84,7 @@ use Joomla\CMS\Layout\LayoutHelper;
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<?php echo $this->pagination->getListFooter(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<input type="hidden" name="task" value="">
|
<input type="hidden" name="task" value="">
|
||||||
|
@ -96,7 +96,7 @@ use Joomla\CMS\Layout\LayoutHelper;
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<?php echo $this->pagination->getListFooter(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<input type="hidden" name="task" value="">
|
<input type="hidden" name="task" value="">
|
||||||
|
@ -138,7 +138,7 @@ use Joomla\CMS\Layout\LayoutHelper;
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<?php echo $this->pagination->getListFooter(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<input type="hidden" name="task" value="">
|
<input type="hidden" name="task" value="">
|
||||||
|
@ -98,7 +98,7 @@ use Joomla\CMS\Layout\LayoutHelper;
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<?php echo $this->pagination->getListFooter(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<input type="hidden" name="task" value="">
|
<input type="hidden" name="task" value="">
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
<extension type="component" method="upgrade">
|
<extension type="component" method="upgrade">
|
||||||
<name>Depot</name>
|
<name>Depot</name>
|
||||||
<author>KW4NZ</author>
|
<author>KW4NZ</author>
|
||||||
<creationDate>2023-10-30</creationDate>
|
<creationDate>2023-11-01</creationDate>
|
||||||
<copyright>(C) KW4NZ Thomas Kuschel</copyright>
|
<copyright>(C) KW4NZ Thomas Kuschel</copyright>
|
||||||
<license>GPL v2 +; see LICENSE.md</license>
|
<license>GPL v2 +; see LICENSE.md</license>
|
||||||
<authorEmail>thomas@kuschel.at</authorEmail>
|
<authorEmail>thomas@kuschel.at</authorEmail>
|
||||||
<authorUrl>https://kuschel.at</authorUrl>
|
<authorUrl>https://kuschel.at</authorUrl>
|
||||||
<version>0.9.9</version>
|
<version>0.9.10</version>
|
||||||
<description>COM_DEPOT_XML_DESCRIPTION</description>
|
<description>COM_DEPOT_XML_DESCRIPTION</description>
|
||||||
<namespace path="src/">KW4NZ\Component\Depot</namespace>
|
<namespace path="src/">KW4NZ\Component\Depot</namespace>
|
||||||
<install> <!-- Runs on install -->
|
<install> <!-- Runs on install -->
|
||||||
|
Loading…
Reference in New Issue
Block a user