Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
note autocomplete and full text search should be able to find notes by noteId
azivner513748836e07
diff --git a/src/services/note_cache.js b/src/services/note_cache.jsindex 802ab751fe..027514d525 100644--- a/src/services/note_cache.js+++ b/src/services/note_cache.js@@ -50,6 +50,12 @@ function findNotes(query) {}for (const noteId of noteIds) {+ // autocomplete should be able to find notes by their noteIds as well (only leafs)+ if (noteId === query) {+ search(noteId, [], [], results);+ continue;+ }+// for leaf note it doesn't matter if "archived" label inheritable or notif (noteId in archived) {continue;