[*] BO #PSFV-94 : Added AdminCountriesController
This commit is contained in:
@@ -538,6 +538,10 @@ class AdminControllerCore extends Controller
|
||||
/* Table alias could be specified using a ! eg. alias!field */
|
||||
$tmp_tab = explode('!', $key);
|
||||
$key = (count($tmp_tab) > 1 ? $tmp_tab[1] : $tmp_tab[0]);
|
||||
|
||||
// init list declaration
|
||||
$this->initList();
|
||||
|
||||
if (array_key_exists($key, $this->fieldsDisplay))
|
||||
unset($this->context->cookie->$cookie_key);
|
||||
}
|
||||
@@ -746,6 +750,9 @@ class AdminControllerCore extends Controller
|
||||
|
||||
protected function filterToField($key, $filter)
|
||||
{
|
||||
// init list declaration
|
||||
$this->initList();
|
||||
|
||||
foreach ($this->fieldsDisplay as $field)
|
||||
if (array_key_exists('filter_key', $field) && $field['filter_key'] == $key)
|
||||
return $field;
|
||||
|
||||
Reference in New Issue
Block a user