WIP per-tab hoisting

This commit is contained in:
zadam
2020-11-22 23:05:02 +01:00
parent 5bbec118e4
commit 4bd86a6dfa
11 changed files with 64 additions and 66 deletions

View File

@@ -52,7 +52,7 @@ function getNotesAndBranchesAndAttributes(noteIds) {
}
function getTree(req) {
const subTreeNoteId = req.query.subTreeNoteId || optionService.getOption('hoistedNoteId');
const subTreeNoteId = req.query.subTreeNoteId || 'root';
// FIXME: this query does not return ascendants of template notes
const noteIds = sql.getColumn(`