A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: use `notesWithHighlighting` for full notes search
Abdullah Atta29b0c2eedaa2
diff --git a/apps/web/src/views/all-notes.tsx b/apps/web/src/views/all-notes.tsxindex de15b8b93..96dc4933c 100644--- a/apps/web/src/views/all-notes.tsx+++ b/apps/web/src/views/all-notes.tsx@@ -37,7 +37,7 @@ function Home() {"notes",async (query, sortOptions) => {if (useStore.getState().context) return;- return await db.lookup.notes(query, sortOptions);+ return await db.lookup.notesWithHighlighting(query, sortOptions);},[notes]);diff --git a/apps/web/src/views/notes.tsx b/apps/web/src/views/notes.tsxindex a4a1d4b1f..3436eb387 100644--- a/apps/web/src/views/notes.tsx+++ b/apps/web/src/views/notes.tsx@@ -48,7 +48,7 @@ function Notes(props: NotesProps) {async (query, sortOptions) => {if (!context || !contextNotes) return;const notes = notesFromContext(context);- return await db.lookup.notes(query, sortOptions, notes);+ return await db.lookup.notesWithHighlighting(query, sortOptions, notes);},[context, contextNotes]);