Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap
This commit is contained in:
@@ -64,6 +64,8 @@ class HelperListCore extends Helper
|
||||
|
||||
public $position_identifier;
|
||||
|
||||
public $table_id;
|
||||
|
||||
/**
|
||||
* @var string Customize list display
|
||||
*
|
||||
@@ -536,8 +538,8 @@ class HelperListCore extends Helper
|
||||
isset($this->context->cookie->{$this->list_id.'_pagination'}) ? $this->context->cookie->{$this->list_id.'_pagination'} : null
|
||||
);
|
||||
|
||||
if ($this->position_identifier && (int)Tools::getValue($this->position_identifier, 1))
|
||||
$table_id = substr($this->identifier, 3, strlen($this->identifier));
|
||||
if (!isset($this->table_id) && $this->position_identifier && (int)Tools::getValue($this->position_identifier, 1))
|
||||
$this->table_id = substr($this->identifier, 3, strlen($this->identifier));
|
||||
|
||||
if ($this->position_identifier && ($this->orderBy == 'position' && $this->orderWay != 'DESC'))
|
||||
$table_dnd = true;
|
||||
@@ -628,7 +630,7 @@ class HelperListCore extends Helper
|
||||
'id_cat' => $id_cat,
|
||||
'shop_link_type' => $this->shopLinkType,
|
||||
'has_actions' => !empty($this->actions),
|
||||
'table_id' => isset($table_id) ? $table_id : null,
|
||||
'table_id' => isset($this->table_id) ? $this->table_id : null,
|
||||
'table_dnd' => isset($table_dnd) ? $table_dnd : null,
|
||||
'name' => isset($name) ? $name : null,
|
||||
'name_id' => isset($name_id) ? $name_id : null,
|
||||
|
||||
Reference in New Issue
Block a user