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
|
// exists
|
||||||
case 'exists' :
|
case 'exists' :
|
||||||
$contacts = $this->bocontacts->search(
|
$contacts = $this->bocontacts->search(
|
||||||
array( $condition['string'] => $record[$condition['string']],),
|
//array( $condition['string'] => $record[$condition['string']],),
|
||||||
$_definition->plugin_options['update_cats'] == 'add' ? false : true
|
'',
|
||||||
|
$_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 ) ) {
|
if ( is_array( $contacts ) && count( array_keys( $contacts ) >= 1 ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user