mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Fix unfiltered search results when searching with text customfields
This commit is contained in:
parent
edfd5fd24d
commit
db3ad56011
@ -420,7 +420,7 @@ class Storage extends Storage\Base
|
||||
|
||||
if (!$this->customfields) return ''; // no custom-fields --> no search
|
||||
|
||||
$sql = ' OR '.$this->table_name.'.'.$this->autoinc_id.' IN (SELECT '.$this->autoinc_id.
|
||||
$sql = ' OR '.$this->table_name.'.'.$this->autoinc_id.' IN (SELECT '.$this->extra_id.
|
||||
' FROM '.$this->extra_table.' WHERE '.$this->extra_value.' '.
|
||||
$this->db->capabilities[Db::CAPABILITY_CASE_INSENSITIV_LIKE].' '.
|
||||
$GLOBALS['egw']->db->quote($_pattern);
|
||||
|
Loading…
Reference in New Issue
Block a user