Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort exported searchGroups #71

Open
elduende05 opened this issue Jul 8, 2023 · 1 comment
Open

Sort exported searchGroups #71

elduende05 opened this issue Jul 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@elduende05
Copy link

If you export and then import search groups, they get scrambled. It would improve usability if they were stabilized so an export / import didn't change the order.

@leoetlino leoetlino added the enhancement New feature or request label Jul 8, 2023
@savage13
Copy link
Contributor

At first glance searchGroups appear to be added and removed in the order in the objmap and within the file. The searchGroups are added first then the searchExcludes are added after. Not sure if this is the issue

We can add a sort to the searchGroups by the label in the objmap, this should result in a sorted searchGroups when exported. It is easy enough to invert the sort order as well if that is desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants