Skip to content

Commit

Permalink
core: fix notes search in tags, colors & notebooks not working
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Dec 27, 2024
1 parent 1e2055c commit a364ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/api/lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default class Lookup {
eb
.selectFrom("content_fts")
.$if(!!notes, (eb) =>
eb.where("id", "in", notes!.filter.select("id"))
eb.where("noteId", "in", notes!.filter.select("id"))
)
.$if(excludedIds.length > 0, (eb) =>
eb.where("id", "not in", excludedIds)
Expand Down

0 comments on commit a364ae2

Please sign in to comment.