mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
search now supports searching / ordering by note size
This commit is contained in:
@@ -172,9 +172,6 @@ class TreeCache {
|
||||
throw new Error(`Search note ${note.noteId} failed: ${searchResultNoteIds}`);
|
||||
}
|
||||
|
||||
// force to load all the notes at once instead of one by one
|
||||
await this.getNotes(searchResultNoteIds);
|
||||
|
||||
// reset all the virtual branches from old search results
|
||||
if (note.noteId in treeCache.notes) {
|
||||
treeCache.notes[note.noteId].children = [];
|
||||
|
||||
Reference in New Issue
Block a user