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

Better Clarity and COntrol on AND and OR for Advanced search


    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:


      When using the advanced search tab to find contacts, it is not consistent whether "and" or "or" are used for search criteria.

      For example, if I check two groups, A and B, any contact that is a member of A OR B or both is returned.

      However, if I select group A and college Harvard I will get any person who is a member of group A AND went to Harvard.

      The most important thing is to document how the search program works, i.e. when it uses AND and when it uses OR. Even better is to allow the user to control whether AND or OR is used. Currently this can be done by either sequentially creating a group or tag and assigning people to it, then doing a second search for the people who should be excluded and deleting records from the first group (AND) or by creating a group with an advanced search and then doing a second advanced search and then assigning the results to the first group (OR).




            • Assignee:
              dgg David Greenberg
              mcsmom Elin Waring
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: