[-] BO : fixed bug #PSCFV-3142
This commit is contained in:
@@ -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