[-] MO : Fix bug #PSCFV-6364 pagination in loyalty module, thankx Matthieu@202-ecommerce.com
This commit is contained in:
@@ -183,7 +183,8 @@ class LoyaltyDefaultModuleFrontController extends ModuleFrontController
|
||||
'page' => ((int)Tools::getValue('p') > 0 ? (int)Tools::getValue('p') : 1),
|
||||
'nbpagination' => ((int)Tools::getValue('n') > 0 ? (int)Tools::getValue('n') : 10),
|
||||
'nArray' => array(10, 20, 50),
|
||||
'max_page' => floor(count($orders) / ((int)Tools::getValue('n') > 0 ? (int)Tools::getValue('n') : 10))
|
||||
'max_page' => floor(count($orders) / ((int)Tools::getValue('n') > 0 ? (int)Tools::getValue('n') : 10)),
|
||||
'pagination_link' => $this->getSummaryPaginationLink(array(), $this->context->smarty)
|
||||
));
|
||||
|
||||
/* Discounts */
|
||||
|
||||
Reference in New Issue
Block a user