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

Add view filter handler for contact reference custom field

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.7.31
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      If a custom field of type "contact ref"  is added as a filter on a drupal view and exposed to screen, the search doesn't work while we type the name in the input field.

      Eg -

      • Add a custom field of type contact reference.
      • Create a drupal view and add the above field as a filter and expose it to users.
      • Search by typing a string on the input field - no results.

      It searches by the contact id and not by the display name of the contact.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: