forked from ZwiiCMS-Team/ZwiiCMS
11.1.00 pagination manquante dans form liste des données
This commit is contained in:
parent
d47f6e291c
commit
c34eb7d84a
@ -157,7 +157,7 @@ class form extends common {
|
||||
// Pagination
|
||||
$pagination = helper::pagination($data, $this->getUrl(),self::ITEMSPAGE);
|
||||
// Liste des pages
|
||||
self::$pagination = $pagination['pages'];
|
||||
self::$pages = $pagination['pages'];
|
||||
// Inverse l'ordre du tableau
|
||||
$dataIds = array_reverse(array_keys($data));
|
||||
$data = array_reverse($data);
|
||||
|
@ -25,6 +25,7 @@
|
||||
</div>
|
||||
<?php if($module::$data): ?>
|
||||
<?php echo template::table([11, 1], $module::$data, ['Données', '']); ?>
|
||||
<?php echo $module::$pages; ?>
|
||||
<?php else: ?>
|
||||
<?php echo template::speech('Aucune donnée'); ?>
|
||||
<?php endif; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user