mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
set columns to search for phoneSearch for non-SQL backends too
This commit is contained in:
parent
fc50aa6312
commit
b79971a1e9
@ -2869,6 +2869,10 @@ class Contacts extends Contacts\Storage
|
||||
$pattern = $backend->search2criteria($pattern, $wildcard, $op, null,
|
||||
(array)$fields_to_search, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
$filter['cols_to_search'] = $fields_to_search;
|
||||
}
|
||||
$rows = parent::search($pattern, $only_keys, $order_by, $extra_cols, $wildcard, $empty, $op, $start, $filter, $join, $ignore_acl) ?: [];
|
||||
foreach($rows as $key => $row)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user