similar notes algorithm tweaks (WIP)

This commit is contained in:
zadam
2020-09-10 21:01:46 +02:00
parent bff5b015ea
commit 056c40c0d0
4 changed files with 35 additions and 9 deletions

View File

@@ -157,7 +157,7 @@ class Note {
*/
get flatText() {
if (!this.flatTextCache) {
this.flatTextCache = this.noteId + ' ' + this.type + ' ' + this.mime + ' ' + this.dateCreated.substr(0, 16) + ' ';
this.flatTextCache = this.noteId + ' ' + this.type + ' ' + this.mime + ' ';
for (const branch of this.parentBranches) {
if (branch.prefix) {