Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7724

dedupe rules should restrict by contact type early in the process

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.4.alpha
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      we currently don't filter by contact_type when a dedupe rule is run until late in the process. but dedupe rules are contact_type-specific, so we can filter early in order to pair down the data set. this is particularly important when deduping orgs where the org name is a rule field (quite common). since individuals with a current employer have the org name cached in their record, the current code looks for dupes across both indivs and orgs unnecessarily.

      see attached patch

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: