// fix on attribute positions in FO (Attribute constructor was incorrect)

This commit is contained in:
vChabot
2011-10-27 12:52:04 +00:00
parent 2b7340d9d9
commit d09855f02c
5 changed files with 70 additions and 5 deletions
+13
View File
@@ -281,4 +281,17 @@ class AdminFeatures extends AdminTab
else
parent::postProcess();
}
/**
* Modifying initial getList method to display position feature (drag and drop)
*/
public function getList($id_lang, $order_by = null, $order_way = null, $start = 0, $limit = null, $id_lang_shop = false)
{
if ($order_by && $this->context->cookie->__get($this->table.'Orderby'))
$order_by = $this->context->cookie->__get($this->table.'Orderby');
else
$order_by = 'position';
parent::getList($id_lang, $order_by, $order_way, $start, $limit, $id_lang_shop);
}
}