komodityagro Posted September 17, 2013 Share Posted September 17, 2013 Hi, why this filter not works in PS 1.5.5.0? $this->_filter = 'AND a.id_customer IN (SELECT cg.id_customer FROM '._DB_PREFIX_.'customer_group cg WHERE cg.id_group = '.$id_filter_group.')'; Link to comment Share on other sites More sharing options...
vekia Posted September 17, 2013 Share Posted September 17, 2013 the question is: where you use it? Link to comment Share on other sites More sharing options...
komodityagro Posted September 18, 2013 Author Share Posted September 18, 2013 I need to filter of the customers in the admin list of group customers, regarding of which employee is logged. Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 it's an admin AdminCustomersController ? Link to comment Share on other sites More sharing options...
komodityagro Posted September 18, 2013 Author Share Posted September 18, 2013 Yes, the AdminCustomersController. Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 $id_filter_group - this variable doesnt exist Link to comment Share on other sites More sharing options...
komodityagro Posted September 18, 2013 Author Share Posted September 18, 2013 Thanks, but what variable have to be for filter of the customers by employee? Link to comment Share on other sites More sharing options...
Recommended Posts