// fix bug position in AdminFeaturesController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10139 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user