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

Smart group returns more contacts than match criteria

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.7.13, 4.7.14
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      I've tried to test v4.7.13 smart groups with relative dates (recently fixed in v4.7.13), but experienced a different problem (which I replicated on CiviCRM Drupal Sandbox v4.7.14).

      The smart group returns more contacts than the search it is based upon.
      Smart group includes contacts that do not match the criteria of search.

      To replicate the issue:
      1. Create an Activity for one contact.
      2. Advanced search > Activities (Activity Dates = Today; Activity Status = any)
      3. Search will correctly return the one contact with Activity = Today.
      4. Create smart group from that search.
      5. Go to Contacts > Manage groups and see that in the newly created smart group there are a lot more contacts than returned by search (while only one match the smart group criteria, namely, has Activity = Today).

      P.S. This is my first JIRA report, sorry if I missed something.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Aivars Aivars Andersons
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: