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

Search Builder - Including a Custom Field in the Search Builder Causes other Criteria to be Ignored

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.8
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Based on user feedback and my own testing on the 1.8 code running on demo with sample (generated) data, if you include a custom field as one of the criteria in the Search Builder, other criteria are ignored.

      To recreate...

      Include contacts where:

      • record type = Individual
      • Last Name LIKE Gran%

      ... do the search - you'll get ~4 contacts

      Now add "another seach field (in the same criteria set):

      • record type = Individual
      • Most Important Issue = edu

      do the search and you'll get ~17 contacts (all the contacts with Most Important Issue = "Education", regardless of their Last Name).

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: