[-] BO : BugFix : #PSCFV-3142 : Admin Tracking displaying categories from other shops

This commit is contained in:
vChabot
2012-08-02 15:49:55 +00:00
parent 9da7b06b83
commit a429d45ba9
@@ -90,6 +90,7 @@ class AdminTrackingControllerCore extends AdminController
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status', 'width' => 50)
));
$this->_join = Shop::addSqlAssociation('category', 'a');
$this->_filter = ' AND a.`id_category` NOT IN (
SELECT DISTINCT(cp.id_category)
FROM `'._DB_PREFIX_.'category_product` cp