Child groups with all parents disabled shows in group list
I'am currently using Civicrm version 5.3.1 with drupal 7.59.
Steps to replicate:
- Create one group, parent A.
- Create a one group, child A and assign parent A group created above as parent.
- Disable parent A group.
- Go to contacts->manage groups. You are unable to see both parent and child groups.
- Click on any search criteria. Unclick it. You can see the child A group with title as Child A Child of: With null value for parent
How it works currently: If a child group has multiple parent groups and one of them is disabled, the child group should to show up on group selector lists. This has been fixed here https://issues.civicrm.org/jira/browse/CRM-20934.
If all parent group(s) are disabled the child group still shows up in search mode.
How it should work: If a child group has multiple or single parent group and all of them are disabled, should the child group be removed from the selector lists.
For more insights please see the discussion on stack exchange here https://civicrm.stackexchange.com/questions/25855/child-groups-with-all-parents-disabled-shows-in-group-list