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

Search for contacts in Smart Groups based on group status shows incorrect results

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.22, 4.7
    • Fix Version/s: 4.7.14
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Sprint:
      4.7.14 Search
    • Funding Source:
      Core Team Funds

      Description

      Steps to reproduce in 4.7 - tested on demo site:

      1. Create a Smart Group - example used just includes all Contacts in database
      2. Go to the group and view all added contacts
      3. Remove a contact from the group
      4. Refresh the search and note that the "removed" contact is now excluded
      5. Change search criteria to display only "removed" contacts
      6. No change in search results - all added contacts listed, but no removed

      Similar behaviour in Version 4.6.22 observed.

      1. Repeat steps 1-4 from above on a 4.6.22 installation
      2. Change search criteria to display only "removed" contacts
      3. Search results changed, but results are incorrect - Removed contacts listed, but all added contacts are also listed

      Search results appear to include contacts with group status "added", regardless of search filter criteria including them or not.

      Our reference 24246

        Attachments

        1. added.png
          204 kB
          Monish Deb
        2. addedNremoved.png
          211 kB
          Monish Deb
        3. civicrm--smart-group-status-search--4-6-22-(1).png
          128 kB
          Agileware
        4. civicrm--smart-group-status-search--4-6-22-(2).png
          146 kB
          Agileware
        5. civicrm--smart-group-status-search--4-7.png
          137 kB
          Agileware
        6. removed.png
          148 kB
          Monish Deb

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              agileware Agileware
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: