13444 - fix product controller sql request with filters

This commit is contained in:
Rodney Figaro 2017-06-12 11:54:41 +02:00
parent 0f396019f4
commit 052ec16055

View File

@ -143,7 +143,7 @@ class AdminProductsController extends AdminProductsControllerCore
if ($join_category) if ($join_category)
{ {
$this->_join .= ' INNER JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_product` = a.`id_product` AND cp.`id_category` = '.(int)$this->_category->id.') '; $this->_join .= ' INNER JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_product` = a.`id_product` AND cp.`id_category` = '.(int)$this->_category->id.') ';
$this->_select .= ' , cp.`position`, '; $this->_select .= ' , cp.`position` ';
} }