diff --git a/classes/controller/AdminController.php b/classes/controller/AdminController.php index 54dfcb390..faeb9290f 100644 --- a/classes/controller/AdminController.php +++ b/classes/controller/AdminController.php @@ -2072,7 +2072,7 @@ class AdminControllerCore extends Controller { foreach ($this->fields_list as $key => $array_value) if (isset($array_value['filter_key'])) - $this->_listsql .= str_replace('!', '.', $array_value['filter_key']).','; + $this->_listsql .= str_replace('!', '.', $array_value['filter_key']).' as '.$key.','; elseif ($key == 'id_'.$this->table) $this->_listsql .= 'a.`'.bqSQL($key).'`,'; elseif ($key != 'image' && !preg_match('/'.preg_quote($key, '/').'/i', $this->_select)) diff --git a/controllers/admin/AdminCountriesController.php b/controllers/admin/AdminCountriesController.php index b4d002e48..f1f3ab585 100644 --- a/controllers/admin/AdminCountriesController.php +++ b/controllers/admin/AdminCountriesController.php @@ -44,7 +44,7 @@ class AdminCountriesControllerCore extends AdminController 'enableSelection' => array('text' => $this->l('Enable selection')), 'disableSelection' => array('text' => $this->l('Disable selection')), 'affectzone' => array('text' => $this->l('Assign to a new zone')) - ); + ); $this->fieldImageSettings = array( 'name' => 'logo',