// Fix admin listing on some tab
This commit is contained in:
@@ -2073,7 +2073,7 @@ class AdminControllerCore extends Controller
|
||||
foreach ($this->fields_list as $key => $array_value)
|
||||
{
|
||||
// Add it only if it is not already in $this->_select
|
||||
if (isset($this->_select) && preg_match('/'.preg_quote($key, '/').'`?\s*,/', $this->_select))
|
||||
if (isset($this->_select) && preg_match('/[\s]`?'.preg_quote($key, '/').'`?\s*,/', $this->_select))
|
||||
continue;
|
||||
|
||||
if (isset($array_value['filter_key']))
|
||||
@@ -2790,5 +2790,4 @@ class AdminControllerCore extends Controller
|
||||
// No content, return false
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user