karlomikus / bar-assistant

Bar assistant is a all-in-one solution for managing your home bar
https://barassistant.app
MIT License
551 stars 22 forks source link

Substituted ingredients do not show in cocktail search #321

Closed zeekaran closed 1 month ago

zeekaran commented 3 months ago

Ingredient properly shows it appears in N cocktails, but the cocktail search doesn't look for substitutes.

Steps to reproduce: Create new ingredient. Add it as a substitute ingredient on a cocktail. Go to ingredient again, should show "Used in 1 cocktail recipes"*, click on it, "No cocktails found".

*super unimportant but maybe it should say "Used in 1 cocktail recipe" rather than "recipes"

reefland commented 3 months ago

I've bumped into this as well, a specific example which might help... Crème de cassis says:

image

Upon clicking the link for [Used in 3 cocktail recipes] it only finds 2: image

Not sure which one is missing.

zeekaran commented 2 months ago

Not sure which one is missing.

This is particularly annoying. I'm not sure there's a way to find it besides manually looking through every cocktail.