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

batch-load favorites for library search #68

Merged
merged 2 commits into from
May 19, 2024
Merged

Conversation

barneyb
Copy link
Member

@barneyb barneyb commented May 19, 2024

When performing library search, batch load "is favorite" instead of doing it recipe-by-recipe. While fav status is currently used for ordering results, I opted not to try and weave it into memory to avoid requerying as I did for pantry item use/dupe counts. Recipe search is going to evolve, since it's actually search instead of just a listing, so opted to leave it simpler.

@barneyb barneyb linked an issue May 19, 2024 that may be closed by this pull request
@barneyb barneyb merged commit f6799ce into master May 19, 2024
1 check passed
@barneyb barneyb deleted the bulk-favs-on-search branch May 19, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

recipe favorites (for search) should use data loader
1 participant