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
Bugfix, Canvas and Mindmap content doesnt show in wuick search and fulltextsearch.
CobriMediaJulien336fff909919
diff --git a/src/services/search/expressions/note_content_fulltext.ts b/src/services/search/expressions/note_content_fulltext.tsindex 16291d6176..106d5d3e34 100644--- a/src/services/search/expressions/note_content_fulltext.ts+++ b/src/services/search/expressions/note_content_fulltext.ts@@ -60,7 +60,7 @@ class NoteContentFulltextExp extends Expression {for (const row of sql.iterateRows<SearchRow>(`SELECT noteId, type, mime, content, isProtectedFROM notes JOIN blobs USING (blobId)- WHERE type IN ('text', 'code', 'mermaid') AND isDeleted = 0`)) {+ WHERE type IN ('text', 'code', 'mermaid', 'canvas', 'mindMap') AND isDeleted = 0`)) {this.findInText(row, inputNoteSet, resultNoteSet);}