forked from extern/egroupware
Change contact search to use filter to filter by specific columns
This commit is contained in:
parent
6b7dee0c5b
commit
d7c8f809bf
@ -158,8 +158,11 @@ class addressbook_import_contacts_csv implements importexport_iface_import_plugi
|
||||
// exists
|
||||
case 'exists' :
|
||||
$contacts = $this->bocontacts->search(
|
||||
array( $condition['string'] => $record[$condition['string']],),
|
||||
$_definition->plugin_options['update_cats'] == 'add' ? false : true
|
||||
//array( $condition['string'] => $record[$condition['string']],),
|
||||
'',
|
||||
$_definition->plugin_options['update_cats'] == 'add' ? false : true,
|
||||
'', '', '', false, 'AND', false,
|
||||
array( $condition['string'] => $record[$condition['string']],)
|
||||
);
|
||||
|
||||
if ( is_array( $contacts ) && count( array_keys( $contacts ) >= 1 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user