[-] MO : BugFix : #PSFV-623 : order by category is now multishop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13929 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
e6c7f178d0
commit
f31711fcab
1 file changed
+1
-1
@@ -196,7 +196,7 @@ class BlockCategories extends Module
|
|||||||
AND cg.`id_group` IN ('.pSQL($groups).')
|
AND cg.`id_group` IN ('.pSQL($groups).')
|
||||||
AND cs.`id_shop` = '.(int)Context::getContext()->shop->id.'
|
AND cs.`id_shop` = '.(int)Context::getContext()->shop->id.'
|
||||||
GROUP BY id_category
|
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();
|
return Tools::restoreCacheSettings();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user