Bug #5026
closedcontent views: package group filter: List/Remove contents appears incorrect
Description
Scenario:
1. Create/Sync 2 repos with the same package group (e.g. zoo repo contains mammals and birds)
2. Create a content view
3. Associate both of the above repos with the content view
4. Create a package group filter
5. Observe Add list will show all package groups available; however, none will be repeated.
6. Add a package group to the filter (e.g. birds)
7. Go to List/Remove to see what was added to the filter
8. Observe that the package group is listed twice (once for each of the above repos)
There are multiple ways that we could address this. A couple of options are:
1. Update List/Remove to not show duplicates
2. Update the package group filtering so that rather than add package groups by 'name' alone, the user selects them by 'name' & 'repo'. Since the same group could exist in 2 repos and the definition of that group may be different in each, this may be the better solution as the user will know exactly which one they are selecting; however, it is the more complicated solution since it involves schema and potentially changing the flow in the UI.