[-] BO : BugFix : #PSCFV-3142 : Admin Tracking displaying categories from other shops
This commit is contained in:
@@ -90,6 +90,7 @@ class AdminTrackingControllerCore extends AdminController
|
|||||||
'active' => array('title' => $this->l('Status'), 'type' => 'bool', 'active' => 'status', 'width' => 50)
|
'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 (
|
$this->_filter = ' AND a.`id_category` NOT IN (
|
||||||
SELECT DISTINCT(cp.id_category)
|
SELECT DISTINCT(cp.id_category)
|
||||||
FROM `'._DB_PREFIX_.'category_product` cp
|
FROM `'._DB_PREFIX_.'category_product` cp
|
||||||
|
|||||||
Reference in New Issue
Block a user