Merge pull request #720 from CobriMediaJulien/develop

Bugfix, Canvas and Mindmap content didn´t show in search
pull/727/head
Elian Doran 2024-12-08 21:10:24 +07:00 committed by GitHub
commit 275907f0fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -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);
}