-
-
Notifications
You must be signed in to change notification settings - Fork 812
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
[BUG] - Shopping list items of the same type are not consolidated #3417
Comments
Looks like this is specific to adding from the mealplanner; adding a single recipe is fine, even when it has multiple repeated ingredients (e.g. 1 clove garlic, 2 cloves garlic). My guess is that it's a race condition due to sending multiple "add recipe" requests at once, and they don't see each other. Solution would be to either send one request at a time (slow) or add a new backend API to accept multiple recipes in one request |
Marking confirmed based on Michael's comment |
Hi, |
@padawarmik are you able to share your exact replication steps? |
@boc-the-git and here is a part of this shopping list: It happens every time I do the shopping list from the meal planner. I was unable to proceed without replicating the issue. |
First Check
What is the issue you are experiencing?
I created a meal plan with breakfast, lunch and dinner recipes selected. When I add the items to the shopping list via the meal planner feature, the items on the shoppinglist are not consolidated. For example, I have several entries for eggs and several entries for salt.
Steps to Reproduce
I'm attaching images that show the workflow.



1.) Fill a day in mealplanner with recipes
2.) Create a shopping list or empty an existing one
3.) Add items from the mealplanner to the shopping list
If I them select and de-select items on the shopping list, they will get summed together. So it looks like this step is skipped when adding items via the mealplanner.

Please provide relevant logs
The log is empty when I perform these actions.
Mealie Version
v1.4.0, f709d11
Also reproducible on the demo platform.
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered: