From 5195e5a16a0c70643c51a2571588c908816ecb17 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Fri, 18 Apr 2014 20:16:00 +0200 Subject: [PATCH] Updated the pagination system --- templates/backOffice/default/customers.html | 35 +++++---------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/templates/backOffice/default/customers.html b/templates/backOffice/default/customers.html index 9a16031b0..f839a24ea 100644 --- a/templates/backOffice/default/customers.html +++ b/templates/backOffice/default/customers.html @@ -120,7 +120,7 @@ - {loop name="customer_list" type="customer" current="false" visible="*" order=$customer_order backend_context="1" page=$page limit=$display_customer} + {loop name="customer_list" type="customer" current="false" visible="*" order=$customer_order backend_context="1" page=$page limit=#max_displayed_customers#} {assign "lastOrderDate" ''} {assign "lastOrderAmount" ''} {assign "lastOrderCurrency" ''} @@ -179,34 +179,13 @@ + {include + file = "includes/pagination.html" -
- -
+ loop_ref = "customer_list" + max_page_count = 10 + page_url = "{url path="/admin/customers" customer_order=$customer_order}" + }