// Product names are now correctly displayed in AdminStockManagement & AdminStockCover

This commit is contained in:
bMancone
2011-11-22 12:40:56 +00:00
parent ddfb60d69a
commit ce3dec3afc
3 changed files with 6 additions and 17 deletions
+1 -1
View File
@@ -4035,7 +4035,7 @@ class ProductCore extends ObjectModel
// selects different names, if it is a combination
if ($id_product_attribute)
$query->select('IFNULL(CONCAT(pl.name, \' : \', GROUP_CONCAT(agl.`name`, \' - \', al.name SEPARATOR \', \')),pl.name) as name');
$query->select('IFNULL(CONCAT(pl.name, \' : \', GROUP_CONCAT(DISTINCT agl.`name`, \' - \', al.name SEPARATOR \', \')),pl.name) as name');
else
$query->select('DISTINCT pl.name as name');