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,11 +671,19 @@ class addressbook_so
|
||||
{
|
||||
$search = $param['search'];
|
||||
$param['search'] = array();
|
||||
if($this->somain instanceof addressbook_sql)
|
||||
{
|
||||
// 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']))
|
||||
{
|
||||
$param['search'] = $this->data2db($param['search']);
|
||||
|
Loading…
Reference in New Issue
Block a user