Skip to content

Build your personal knowledge base with Trilium Notes

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.ts
index 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, isProtected
FROM 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);
}