From 4f5df215fe65a67e86347efb7dc14e8f732eef97 Mon Sep 17 00:00:00 2001 From: vChabot Date: Wed, 7 Mar 2012 14:47:01 +0000 Subject: [PATCH] [-] MO : BugFix : #PSFV-623 : order by category is now multishop --- modules/blockcategories/blockcategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blockcategories/blockcategories.php b/modules/blockcategories/blockcategories.php index 44fe12de9..aae074d10 100644 --- a/modules/blockcategories/blockcategories.php +++ b/modules/blockcategories/blockcategories.php @@ -196,7 +196,7 @@ class BlockCategories extends Module AND cg.`id_group` IN ('.pSQL($groups).') AND cs.`id_shop` = '.(int)Context::getContext()->shop->id.' GROUP BY id_category - ORDER BY `level_depth` ASC, '.(Configuration::get('BLOCK_CATEG_SORT') ? 'cl.`name`' : 'c.`position`').' '.(Configuration::get('BLOCK_CATEG_SORT_WAY') ? 'DESC' : 'ASC'))) + ORDER BY `level_depth` ASC, '.(Configuration::get('BLOCK_CATEG_SORT') ? 'cl.`name`' : 'cs.`position`').' '.(Configuration::get('BLOCK_CATEG_SORT_WAY') ? 'DESC' : 'ASC'))) return Tools::restoreCacheSettings();