From e5b88d37d1025bdbe0dde114f9c9e1ae267fe0e7 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Mon, 9 Jan 2012 13:29:09 +0000 Subject: [PATCH] [-] BO : #PSTEST-386 - Fixed problem with filter on the group tab git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12263 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminGroupsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/admin/AdminGroupsController.php b/controllers/admin/AdminGroupsController.php index ab54dee48..5dbe9aa59 100644 --- a/controllers/admin/AdminGroupsController.php +++ b/controllers/admin/AdminGroupsController.php @@ -69,7 +69,8 @@ class AdminGroupsControllerCore extends AdminController 'nb' => array( 'title' => $this->l('Members'), 'width' => 25, - 'align' => 'center' + 'align' => 'center', + 'havingFilter' => true, ), 'show_prices' => array( 'title' => $this->l('Show prices'), @@ -128,6 +129,7 @@ class AdminGroupsControllerCore extends AdminController protected function renderCustomersList($group) { $genders = array(0 => $this->l('?')); + $genders_icon = array('default' => 'unknown.gif'); foreach (Gender::getGenders() as $gender) { $genders_icon[$gender->id] = '../genders/'.(int)$gender->id.'.jpg';