[-] BO : fixed bug #PSCFV-3142
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16590 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
1384d579d4
commit
c45bbc958c
1 file changed
+3
-3
@@ -125,7 +125,7 @@ class AdminTrackingControllerCore extends AdminController
|
|||||||
'name' => array('title' => $this->l('Name')),
|
'name' => array('title' => $this->l('Name')),
|
||||||
'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('product', 'a');
|
||||||
$this->_filter = 'AND a.id_product IN (
|
$this->_filter = 'AND a.id_product IN (
|
||||||
SELECT p.id_product
|
SELECT p.id_product
|
||||||
FROM `'._DB_PREFIX_.'product` p
|
FROM `'._DB_PREFIX_.'product` p
|
||||||
@@ -166,7 +166,7 @@ class AdminTrackingControllerCore extends AdminController
|
|||||||
'name' => array('title' => $this->l('Name')),
|
'name' => array('title' => $this->l('Name')),
|
||||||
'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('product', 'a');
|
||||||
$this->_filter = 'AND a.id_product IN (
|
$this->_filter = 'AND a.id_product IN (
|
||||||
SELECT p.id_product
|
SELECT p.id_product
|
||||||
FROM `'._DB_PREFIX_.'product` p
|
FROM `'._DB_PREFIX_.'product` p
|
||||||
@@ -206,7 +206,7 @@ class AdminTrackingControllerCore extends AdminController
|
|||||||
'reference' => array('title' => $this->l('Reference'), 'width' => 150),
|
'reference' => array('title' => $this->l('Reference'), 'width' => 150),
|
||||||
'name' => array('title' => $this->l('Name'))
|
'name' => array('title' => $this->l('Name'))
|
||||||
);
|
);
|
||||||
|
$this->_join = Shop::addSqlAssociation('product', 'a');
|
||||||
return parent::renderList();
|
return parent::renderList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user