Skip to content

fix(cooktrace): Import All Recipes finds the recipes - #329

Merged
thebigjoe1 merged 1 commit into
TraceApps:devfrom
sreich:fix/cooktrace-import-all-recipes
Nov 17, 2026
Merged

thebigjoe1 merged 1 commit into
TraceApps:devfrom
sreich:fix/cooktrace-import-all-recipes

Conversation

@sreich

@sreich sreich commented Nov 17, 2026

Copy link
Copy Markdown

Import All Recipes always says "No CookTrace recipes found to import".

It calls CookTrace.searchWithMeta('', ...), which returns early on an empty query, so no request is sent. Added an allowEmpty option and the import uses it. Foods search is unchanged.

Added a test (fails before, passes after).

Import All Recipes lists recipes with an empty search, but
searchWithMeta returns early on an empty query and never makes the
request. Add an allowEmpty option and use it in the import. The Foods
search keeps its guard.
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.

2 participants