// small sql fix
This commit is contained in:
1 parent
b9289df687
commit
84a253548e
1 file changed
+1
-1
@@ -256,7 +256,7 @@ class SupplierCore extends ObjectModel
|
|||||||
image_shop.`id_image`,
|
image_shop.`id_image`,
|
||||||
il.`legend`,
|
il.`legend`,
|
||||||
s.`name` AS supplier_name,
|
s.`name` AS supplier_name,
|
||||||
DATEDIFF(p.`date_add`, DATE_SUB(NOW(), INTERVAL '.($nb_days_new_product).' DAY)) > 0 AS new
|
DATEDIFF(p.`date_add`, DATE_SUB(NOW(), INTERVAL '.($nb_days_new_product).' DAY)) > 0 AS new,
|
||||||
m.`name` AS manufacturer_name
|
m.`name` AS manufacturer_name
|
||||||
FROM `'._DB_PREFIX_.'product` p
|
FROM `'._DB_PREFIX_.'product` p
|
||||||
'.Shop::addSqlAssociation('product', 'p').'
|
'.Shop::addSqlAssociation('product', 'p').'
|
||||||
|
|||||||
Reference in new issue
Block a user