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

[5.x] Maintain order of views after renaming #10193

Merged
merged 1 commit into from
May 28, 2024

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue where the position of a view in the list wasn't maintained after renaming a view.

This was happening since we were technically adding a view with the new name, then deleting the view with the old name. This PR fixes that by literally replacing the key & value of the existing item in the preferences object.

Fixes #10176.

@duncanmcclean duncanmcclean changed the title [5.x] Fix order of filter presets after renaming view [5.x] Maintain order of views after renaming May 24, 2024
@jasonvarga jasonvarga merged commit 3ab89fa into 5.x May 28, 2024
17 checks passed
@jasonvarga jasonvarga deleted the fix/order-of-filter-presets-after-renaming branch May 28, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Order of filter presets not retained after renaming
2 participants