mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
optimizations and fixes
This commit is contained in:
@@ -22,7 +22,7 @@ function getNotesAndBranchesAndAttributes(noteIds) {
|
||||
branches.prefix,
|
||||
branches.isExpanded
|
||||
FROM param_list
|
||||
JOIN branches ON param_list.paramId = branches.noteId OR param_list.paramId = branches.parentNoteId
|
||||
JOIN branches ON param_list.paramId = branches.parentNoteId
|
||||
JOIN notes AS child ON child.noteId = branches.noteId
|
||||
WHERE branches.isDeleted = 0`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user