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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10398 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-22 12:40:56 +00:00
parent d0c1167d6c
commit 7b394c6cbd
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');