// 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:
+1
-1
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user