[-] MO : Fix sort order for combinations, report of pull request https://github.com/PrestaShop/PrestaShop/pull/364
This commit is contained in:
@@ -2707,7 +2707,7 @@ class BlockLayered extends Module
|
|||||||
AND c.active = 1)) ';
|
AND c.active = 1)) ';
|
||||||
$sql_query['group'] = '
|
$sql_query['group'] = '
|
||||||
GROUP BY lpa.id_attribute
|
GROUP BY lpa.id_attribute
|
||||||
ORDER BY id_attribute_group, id_attribute ';
|
ORDER BY ag.`position` ASC, a.`position` ASC';
|
||||||
|
|
||||||
if (!Configuration::get('PS_LAYERED_HIDE_0_VALUES'))
|
if (!Configuration::get('PS_LAYERED_HIDE_0_VALUES'))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user