Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.7
-
Fix Version/s: 3.0
-
Component/s: None
-
Labels:None
Description
(This happens in 2.2.7 on a custom install and I have seen it in 2.2.8 on the demo drupal site. I've seen it before 2.2.7, I think it was 2.2.1 that exhibited this same behavior, but not 100% on that)
If you create a smart group and filter by "home state", once the group has been created and you look at the list of groups, then clicking on the "Members" link for that group yields only one result instead of all results. The easy workaround is to click on "Edit criteria" in the top left, at which point all members of the group show. I've replicated this with "business state" as well as other address components, e.g. street, city, etc. This does not occur if you select "Primary". This also does not seem to occur if you create the smart group using "Advanced search" as opposed to "Search builder"
Steps to re-create:
1. Login as an admin... I was able to re-create this on the demo drupal site: http://drupal.demo.civicrm.org/
2. Click "Find contacts"
3. Click "Search builder"
4. In the "include contacts where" select "Individual" then "State" then "Home" then "=" then type in any state that will return results, I used "Ohio".
5. In the "also include contacts where" frameset select "Individual" then "State" then "Home" then "=" then type in any other state, I used "Texas".
6. Click on "Search".
7. On the results page click on "All x records" where x is how many returned. Then select "New Smart Group" from the dropdown and click Go. Give the group a name you will remember and save the group.
8. Click "Done" on success.
9. Now view the list of groups available by click on "Manage groups" in the nav.
10. Next to the name of the group you just created, click on "Members"
11. The results page shows only one row even though the group has more than one member. This always happens and is not expected behavior. I think this is a bug.
12. Click on "Edit smart search group criteria" at the top, and the query will re-run and all members will be shown. Weird.
Please fix!