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

Order of filter presets not retained after renaming #10176

Closed
wiebkevogel opened this issue May 23, 2024 · 0 comments · Fixed by #10193
Closed

Order of filter presets not retained after renaming #10176

wiebkevogel opened this issue May 23, 2024 · 0 comments · Fixed by #10193

Comments

@wiebkevogel
Copy link
Contributor

Bug description

When users have many filter presets and they edit or rename an existing preset, the order of the saved filters is not maintained. The preset that is edited or renamed is always moved to the last position in the list.

Expected Behavior:
The edited or renamed filter should retain its original position in the list.

Bildschirmaufnahme.2024-05-23.um.13.47.16.mov

How to reproduce

  1. Open the list view of a collection
  2. Save multiple filter presets
  3. Edit or rename an existing filter
  4. The updated filter is sorted to the end

Logs

No response

Environment

Laravel Version: 10.48.4
PHP Version: 8.3.7
Composer Version: 2.7.6

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.5.0 Solo

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

@wiebkevogel wiebkevogel changed the title Order of filter presets not maintained after renaming Order of filter presets not retained after renaming May 23, 2024
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 a pull request may close this issue.

1 participant