[*] BO : #PSFV-481 - Refactor HelperList position management

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14099 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-03-13 16:22:23 +00:00
parent cb78e26700
commit 1341dcf329
13 changed files with 39 additions and 47 deletions
@@ -28,6 +28,7 @@
class AdminAttributesGroupsControllerCore extends AdminController
{
protected $id_attribute;
protected $position_identifier = 'id_attribute_group';
public function __construct()
{
@@ -157,6 +158,7 @@ class AdminAttributesGroupsControllerCore extends AdminController
$helper->simple_header = true;
$helper->show_toolbar = false;
$helper->bulk_actions = $this->bulk_actions;
$helper->position_identifier = 'id_attribute';
$content = $helper->generateList($this->_list, $this->fieldsDisplay);
die (Tools::jsonEncode(array('use_parent_structure' => false, 'data' => $content)));