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

Units Management Miscalculating Number of Recipes #1826

Closed
900008676 opened this issue May 27, 2022 · 0 comments · Fixed by #2621
Closed

Units Management Miscalculating Number of Recipes #1826

900008676 opened this issue May 27, 2022 · 0 comments · Fixed by #2621
Labels
bug Something isn't working
Milestone

Comments

@900008676
Copy link

900008676 commented May 27, 2022

Tandoor Version

1.2.7

Setup

Docker / Docker-Compose

Reverse Proxy

Traefik

Other

No response

Bug description

Browsing to the units list management screen shows me all my units. However, when it lists the number of recipes which contain that unit it is incorrect. Instead of displaying distinct recipes it is display number of appearances. In my system, I entered only 1 recipe but the units are repeated for several ingredients. As seen in the image below, cup is the unit for 3 ingredients but on in 1 recipe. The count should show 1.

image

SIDE NOTE: I am not sure why there are pictures on this page for managing a list. Seems unnecessary to me. The list could be more compact without them.

Relevant logs

No response

@vabene1111 vabene1111 added the bug Something isn't working label May 30, 2022
@vabene1111 vabene1111 added this to the 1.3.0 milestone May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants