[-] BO : FixBug #PSCFV-10317 - Attributes value not shown on features sorted by position.

This commit is contained in:
Jerome Nadaud committed 2013-09-30 17:23:12 +02:00
1 parent f983e0eaf1
commit b7ff8d634a
1 file changed
+1 -3
@@ -142,7 +142,7 @@ class AdminFeaturesControllerCore extends AdminController
$this->_where = sprintf('AND `id_feature` = %d', (int)$id); $this->_where = sprintf('AND `id_feature` = %d', (int)$id);
// get list and force no limit clause in the request // get list and force no limit clause in the request
$this->getList($this->context->language->id); $this->getList($this->context->language->id, 'id_feature_value', 'ASC');
// Render list // Render list
$helper = new HelperList(); $helper = new HelperList();
@@ -151,8 +151,6 @@ class AdminFeaturesControllerCore extends AdminController
$helper->shopLinkType = ''; $helper->shopLinkType = '';
$helper->identifier = $this->identifier; $helper->identifier = $this->identifier;
$helper->toolbar_scroll = false; $helper->toolbar_scroll = false;
$helper->orderBy = 'position';
$helper->orderWay = 'ASC';
$helper->currentIndex = self::$currentIndex; $helper->currentIndex = self::$currentIndex;
$helper->token = $this->token; $helper->token = $this->token;
$helper->table = $this->table; $helper->table = $this->table;