mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Merge pull request #720 from CobriMediaJulien/develop
Bugfix, Canvas and Mindmap content didn´t show in search
This commit is contained in:
commit
275907f0fb
@ -60,7 +60,7 @@ class NoteContentFulltextExp extends Expression {
|
|||||||
for (const row of sql.iterateRows<SearchRow>(`
|
for (const row of sql.iterateRows<SearchRow>(`
|
||||||
SELECT noteId, type, mime, content, isProtected
|
SELECT noteId, type, mime, content, isProtected
|
||||||
FROM notes JOIN blobs USING (blobId)
|
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);
|
this.findInText(row, inputNoteSet, resultNoteSet);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user