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

Individual contact with the same name can't be distinguished on CiviCRM CCK Contact Reference field

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.2
    • Labels:
      None

      Description

      Problem:

      The idea of this patch is to overcome the issue being able to distinguish 2 people in the CiviCRM database with the same name when searching for them using the autocomplete field in the CiviCRM CCK Contact Reference Drupal module.

      Currently entering 'Wilson' will list:

      Wilson, Frank
      Wilson, Mark
      Wilson, Paul
      Wilson, Paul
      Wilson, Samantha

      This means that it is impossible to differentiate between the 2 Paul Wilsons. I would like the autocomplete to instead display:

      Wilson, Frank - Company A
      Wilson, Mark - Company B
      Wilson, Paul - Company C
      Wilson, Paul - Company D
      Wilson, Samantha - Company E

      Solution:

      This patch changes what is displayed in the autocomplete to Display name - Organisation name

      I looked through the issues relating to this module and it doesn't seem to conflict with any future developments.
      I wasn't sure about the naming convention for a patch here, hope its ok.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              painsworth Peter Ainsworth
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: