[-] BO : limited the number of customers displayed in the group view to 100 in order to avoid memory usage error

This commit is contained in:
Damien Metzger
2013-09-16 09:37:39 +02:00
parent 81a783679d
commit 533003faa0
2 changed files with 2 additions and 1 deletions
@@ -59,6 +59,7 @@
</ul>
</fieldset>
<h2>{l s='Members of this customer group'}</h2>
<p>{l s='Limited to the 100th first customers.'} {l s='Please use filters to narrow your search.'}</p>
{$customerList}
{/block}
+1 -1
View File
@@ -201,7 +201,7 @@ class AdminGroupsControllerCore extends AdminController
'active' => array('title' => $this->l('Enabled'),'align' => 'center', 'active' => 'status','type' => 'bool')
));
$customer_list = $group->getCustomers(false, 0, 0, true);
$customer_list = $group->getCustomers(false, 0, 100, true);
$helper = new HelperList();
$helper->currentIndex = Context::getContext()->link->getAdminLink('AdminCustomers', false);