search will also look for type and mime by default

This commit is contained in:
zadam
2020-08-30 23:12:49 +02:00
parent 058edcfe15
commit b793f8cb88
4 changed files with 29 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ class Note {
return this.flatTextCache;
}
this.flatTextCache = this.noteId + ' ';
this.flatTextCache = this.noteId + ' ' + this.type + ' ' + this.mime;
for (const branch of this.parentBranches) {
if (branch.prefix) {