[BUG] - List ordering reverts itself
First Check
- This is not a feature request.
- I added a very descriptive title to this issue (title field is above this).
- I used the GitHub search to find a similar issue and didn't find it.
- I searched the Mealie documentation, with the integrated search.
- I already read the docs and didn't find an answer.
- This issue can be replicated on the demo site (https://demo.mealie.io/).
What is the issue you are experiencing?
When ordering items within a shopping list, the moved item will remain in the desired spot for less than a second and then revert to the original spot. Below is a recording from the Mealie demo site of the issue, which is also present in my hosted site as well:
https://github.com/user-attachments/assets/40bf9157-042c-4641-98d1-2a47738e658d
This occurs with label sort enabled and disabled.
Steps to Reproduce
- Add multiple items to a shopping list
- Re-order items on the list
- See order revert
Please provide relevant logs
INFO 2025-02-03T12:00:55 - [192.168.1.32:0] 200 OK "PUT /api/households/shopping/items HTTP/1.1"
INFO 2025-02-03T12:00:55 - [192.168.1.32:0] 200 OK "GET /api/households/shopping/lists/9bc47529-98da-4d99-953d-139380f61efc HTTP/1.1"
INFO 2025-02-03T12:00:59 - [192.168.1.32:0] 200 OK "GET /api/households/shopping/lists/9bc47529-98da-4d99-953d-139380f61efc HTTP/1.1"
INFO 2025-02-03T12:01:04 - [192.168.1.32:0] 200 OK "GET /api/households/shopping/lists/9bc47529-98da-4d99-953d-139380f61efc HTTP/1.1"The PUT is immediately followed by a GET, but then there are subsequent GET requests as well. I'm not sure of their origin, as I wasn't refreshing the page or interacting with it beyond a singular item ordering.
Mealie Version
Version: develop (though it's practically 2.5.0, I've built a custom image using 2.5.0 to resolve this issue)
Build: N/A (not shown)
Deployment
Docker (Linux)
Additional Deployment Details
No response
Source: mealie-recipes/mealie