mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
do not search in uid, while doing a 'global' search, as you cant see the field, and you probably dont understand, why you get extra rows
This commit is contained in:
parent
83c91dc737
commit
279b89a316
@ -130,6 +130,7 @@ class addressbook_so
|
||||
var $sql_cols_not_to_search = array(
|
||||
'jpegphoto','owner','tid','private','id','cat_id','etag',
|
||||
'modified','modifier','creator','created','tz','account_id',
|
||||
'uid',
|
||||
);
|
||||
/**
|
||||
* columns to search, if we search for a single pattern
|
||||
@ -602,8 +603,7 @@ class addressbook_so
|
||||
$cols = $this->account_cols_to_search;
|
||||
}
|
||||
// search the customfields only if some exist, but only for sql!
|
||||
$classBackend = get_class($backend);
|
||||
if (($classBackend == 'socontacts_sql' || $classBackend == 'addressbook_sql') && $this->customfields)
|
||||
if (get_class($backend) == 'addressbook_sql' && $this->customfields)
|
||||
{
|
||||
$cols[] = $this->extra_value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user