[-] BO : BugFix : #PSCFV-3142 : Admin Tracking displaying categories from other shops
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16670 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
ae58669d4a
commit
49c1f7e870
1 file changed
+1
@@ -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