Skip to content

Build your personal knowledge base with Trilium Notes

content null check in full text search, #3672

zadam177a67f59be1
diff --git a/src/services/search/expressions/note_content_fulltext.js b/src/services/search/expressions/note_content_fulltext.js
index c893b124ba..4563066670 100644
--- a/src/services/search/expressions/note_content_fulltext.js
+++ b/src/services/search/expressions/note_content_fulltext.js
@@ -69,7 +69,7 @@ class NoteContentFulltextExp extends Expression {
}
}
- if (!content || typeof content !== 'string') {
+ if (!content) {
return;
}