CRM-17898 look at phone_numeric rather than phone when deduping
authoreileenmcnaughton <eileen@fuzion.co.nz>
Fri, 29 Jan 2016 06:53:30 +0000 (06:53 +0000)
committereileenmcnaughton <eileen@fuzion.co.nz>
Fri, 29 Jan 2016 06:54:18 +0000 (06:54 +0000)
CRM/Dedupe/BAO/RuleGroup.php

index 1616392f6d04371c248867deb714c4586d5834a0..aaca7d84d0d24129059d8597dc1e298ee37a38e8 100644 (file)
@@ -77,6 +77,7 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
         'addressee.label' => 'civicrm_contact.addressee_id',
         'email_greeting.label' => 'civicrm_contact.email_greeting_id',
         'postal_greeting.label' => 'civicrm_contact.postal_greeting_id',
+        'civicrm_phone.phone' => 'civicrm_phone.phone_numeric',
       );
       // the table names we support in dedupe rules - a filter for importableFields()
       $supportedTables = array(