mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Fix org view to use extended search abilities
This commit is contained in:
parent
015245d235
commit
e56d9e9503
@ -671,9 +671,17 @@ class addressbook_so
|
||||
{
|
||||
$search = $param['search'];
|
||||
$param['search'] = array();
|
||||
foreach($this->columns_to_search as $col)
|
||||
if($this->somain instanceof addressbook_sql)
|
||||
{
|
||||
if ($col != 'contact_value') $param['search'][$col] = $search; // we dont search the customfields
|
||||
// Keep the string, let the parent deal with it
|
||||
$param['search'] = $search;
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($this->columns_to_search as $col)
|
||||
{
|
||||
if ($col != 'contact_value') $param['search'][$col] = $search; // we dont search the customfields
|
||||
}
|
||||
}
|
||||
}
|
||||
if (is_array($param['search']) && count($param['search']))
|
||||
|
Loading…
Reference in New Issue
Block a user