mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +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'];
|
$search = $param['search'];
|
||||||
$param['search'] = array();
|
$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']))
|
if (is_array($param['search']) && count($param['search']))
|
||||||
|
Loading…
Reference in New Issue
Block a user