From 679b45b5bd86b641b06403ea41f3d853c36e1749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 25 Feb 2013 14:50:23 +0100 Subject: [PATCH] [-] BO: pagination was missing on tax rules listing --- .../tax_rules/helpers/list/list_header.tpl | 33 ++++++++++++++++--- .../admin/AdminTaxRulesGroupController.php | 1 + 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_header.tpl b/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_header.tpl index 96bb7802b..d6ab3b6d8 100644 --- a/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_header.tpl @@ -32,11 +32,36 @@ {hook h=$hookName} {/if} - - -
- + + + + +
+ + {if $page > 1} +   + + {/if} + {l s='Page'} {$page} / {$total_pages} + {if $page < $total_pages} +   + + {/if} + | {l s='Display'} + + / {$list_total} {l s='result(s)'} + + + + + +
_where = 'AND `id_tax_rules_group` = '.(int)$id_group; $this->show_toolbar = false; + $this->tpl_list_vars = array('id_tax_rules_group' => (int)$id_group); return parent::renderList(); }