-
-
Notifications
You must be signed in to change notification settings - Fork 676
Description
Tandoor Version
Setup
Docker / Docker-Compose
Reverse Proxy
SWAG
Other
No response
Bug description
When trying to add a food to the shopping list manually (through the search/dropdown field), if it starts with a number, it will show up properly as the full name in the search dropdown box, but when added to the shopping list the leading number and the word following will be interpreted as quantity and units. As an example:
In the search bar, the food titled "21 Seasoning Salute" properly shows up, and one would expect that clicking it would add something to the effect of "1 (quantity) 21 Seasoning Salute (food)" to the list. Instead, what happens is this:
"21 (quantity) Seasoning (unit) Salute (food)" is added, which is incorrect. I did test and the same bug is present on tandoor 1.0. The only way to properly add the food to the shopping list is by adding from a recipe:
(this particular recipe uses it with no quantity, have not tested with one that has a quantity)
Buggy result and expected result
Relevant logs
Metadata
Metadata
Assignees
Labels
Type
Projects
Status