Hi
I think the Import function is scanning the table indices to find out a duplicate record. The indices are defined in modules/Prospects/vardefs.php as below.
PHP Code:
'indices' =>
array (
array('name' =>'prospectspk', 'type' =>'primary', 'fields'=>array('id')),
array(
'name' => 'prospect_auto_tracker_key' ,
'type'=>'index' ,
'fields'=>array('tracker_key')
),
array( 'name' => 'idx_prospects_last_first',
'type' => 'index',
'fields'=> array(
'last_name',
'first_name',
'deleted'
)
),
array(
'name' => 'idx_prospecs_del_last',
'type' => 'index',
'fields'=> array(
'last_name',
'deleted'
)
),
),
So you may need to define another index here to check the email1 field. It will look like below but I've not tested this though.
PHP Code:
array(
'name' => 'idx_prospecs_del_email1',
'type' => 'index',
'fields'=> array(
'email1',
'deleted'
)
),
Bookmarks