[-] BO fixed bug #PSCFV-9130 - Ordering Categories by Name does not work correctly

This commit is contained in:
Vincent Augagneur
2013-06-04 14:50:20 +02:00
parent 05767a213e
commit 682d10143e
@@ -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);