// fix bug position in AdminFeaturesController

This commit is contained in:
lLefevre committed 2011-11-15 15:43:11 +00:00
1 parent 6a25c4f702
commit 1f71403d47
1 file changed
+3 -1
@@ -156,7 +156,9 @@ class AdminFeaturesControllerCore extends AdminController
{ {
if ($order_by && $this->context->cookie->__get($this->table.'Orderby')) if ($order_by && $this->context->cookie->__get($this->table.'Orderby'))
$order_by = $this->context->cookie->__get($this->table.'Orderby'); $order_by = $this->context->cookie->__get($this->table.'Orderby');
else if (!is_null($order_by)) else if (is_null($order_by))
$order_by = null;
else
$order_by = 'position'; $order_by = 'position';
parent::getList($id_lang, $order_by, $order_way, $start, $limit, $id_lang_shop); parent::getList($id_lang, $order_by, $order_way, $start, $limit, $id_lang_shop);