Merge branch 'main' into react/collections

This commit is contained in:
Elian Doran
2025-09-14 19:01:18 +03:00
committed by GitHub
9 changed files with 585 additions and 449 deletions

View File

@@ -163,6 +163,7 @@ function setExpandedForSubtree(req: Request) {
SELECT branches.branchId, branches.noteId FROM branches
JOIN tree ON branches.parentNoteId = tree.noteId
WHERE branches.isDeleted = 0
AND branches.isExpanded = 1
)
SELECT branchId FROM tree`,
[branchId]