From d2acb9dedb6c8831203af604372c2b7a0d4be262 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Thu, 25 Jul 2013 18:15:06 +0200 Subject: [PATCH] [-] MO : Fix sort order for combinations, report of pull request https://github.com/PrestaShop/PrestaShop/pull/364 --- modules/blocklayered/blocklayered.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blocklayered/blocklayered.php b/modules/blocklayered/blocklayered.php index 47ed3bb19..b2a18e831 100644 --- a/modules/blocklayered/blocklayered.php +++ b/modules/blocklayered/blocklayered.php @@ -2707,7 +2707,7 @@ class BlockLayered extends Module AND c.active = 1)) '; $sql_query['group'] = ' 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')) {