You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add option in admin group search by name to reproduce previous behavoir - #11778
Based on discussion of this issue #9435 we add a flag to the Admin API, search groups by name query, in order to reproduce the behavior that was prior this merge.
This PR add a flag called filterSubGroup that has a default value to true to keep the current behavior. Passing false will populate the subGroup hierarchy as it was until version 15.1.0
Frontend behavior can be restored if wanted using this flag.
@jbpin As commented in the related issue we are going to close this one for the moment. The subject has moved to how group/user assignment is done in the new console.
@rmartinc thanks for letting me know.
For me the issue is not related to searching for group, as the API give me the group that fit the query, but rather more on the subgroup field returned by the query. Previously, the api was able to search for a group and populate the subgroup, now the api filter also the subgroup on the group that match the query. It's in this sense that the PR add a flag to be able to get the matching group populated with its subgroup. It's not even related with frontend as for me the change in the API is the consequences for the UI. I hope it's clear enough so you can reconsider this PR. Best
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on discussion of this issue #9435 we add a flag to the Admin API, search groups by name query, in order to reproduce the behavior that was prior this merge.
This PR add a flag called
filterSubGroupthat has a default value totrueto keep the current behavior. Passingfalsewill populate the subGroup hierarchy as it was until version 15.1.0Frontend behavior can be restored if wanted using this flag.