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

Wrong search results when combining smart and non-smart groups in a single search

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Paid Issue Queue
    • Payment Status:
      Paid
    • Verified?:
      Yes

      Description

      When you run an Advanced Search for members of multiple groups, one of which is a smart group and one of which is a non-smart group, the results only show members of the smart group.

      Reproduced on 4.7.15 demo site (WordPress):

      1. Create a smart group of, say, people with a specific gender
      2. Go to Advanced Search
      3. Include this group, along with a non-smart-group (say, 'Newsletter Subscribers')
      4. Search. The results only show members of the Smart Group

      (this worked ok in 4.6.x)

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              awestbha Andrew West
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour
                1d 1h