From 682d10143ea9f9f3ecf7d84c1390fc84b127c23b Mon Sep 17 00:00:00 2001 From: Vincent Augagneur Date: Tue, 4 Jun 2013 14:50:20 +0200 Subject: [PATCH] [-] BO fixed bug #PSCFV-9130 - Ordering Categories by Name does not work correctly --- controllers/admin/AdminCategoriesController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index 22fb04f8c..4d48eb608 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -208,8 +208,7 @@ class AdminCategoriesControllerCore extends AdminController public function getList($id_lang, $order_by = null, $order_way = null, $start = 0, $limit = null, $id_lang_shop = false) { - $alias = 'sa'; - parent::getList($id_lang, $alias.'.position', $order_way, $start, $limit, Context::getContext()->shop->id); + parent::getList($id_lang, $order_by, $order_way, $start, $limit, Context::getContext()->shop->id); // Check each row to see if there are combinations and get the correct action in consequence $nb_items = count($this->_list);