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 Agroup 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.
Is this the expected behaviour?
Shouldn't the child group be removed from the selector lists if all parent group(s) are disabled?