// Fix product listing even if no image is associated to product in BO
This commit is contained in:
1 parent
c946ab87b7
commit
216da99a22
1 file changed
+1
-1
@@ -249,7 +249,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
if (Shop::isFeatureActive())
|
if (Shop::isFeatureActive())
|
||||||
$this->_where .= ' AND ((image_shop.id_image IS NOT NULL OR i.id_image IS NULL) OR (image_shop.id_image IS NULL AND i.cover=1))';
|
$this->_where .= ' AND ((image_shop.id_image IS NOT NULL OR i.id_image IS NULL) OR (image_shop.id_image IS NULL AND i.cover=1))';
|
||||||
else
|
else
|
||||||
$this->_where .= ' AND i.cover=1';
|
$this->_where .= ' AND (i.cover=1 OR i.id_image IS NULL)';
|
||||||
}
|
}
|
||||||
protected function _cleanMetaKeywords($keywords)
|
protected function _cleanMetaKeywords($keywords)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user