[-] BO : fixed country listing #PSCFV-4438

This commit is contained in:
dMetzger
2012-09-27 07:36:41 +00:00
parent 2906d8ce6d
commit 6d7e162256
2 changed files with 2 additions and 2 deletions

View File

@@ -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))