mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 Incorrect reference count after moving doc across notebooks https://github.com/siyuan-note/siyuan/issues/10622
This commit is contained in:
parent
9935fc6734
commit
04b61dc7eb
1 changed files with 3 additions and 1 deletions
|
|
@ -393,7 +393,9 @@ func moveTree(tree *parse.Tree) {
|
|||
tree.Root.RemoveIALAttr("custom-hidden")
|
||||
filesys.WriteTree(tree)
|
||||
}
|
||||
sql.UpsertTreeQueue(tree)
|
||||
|
||||
sql.RemoveTreeQueue(tree.ID)
|
||||
sql.IndexTreeQueue(tree)
|
||||
|
||||
box := Conf.Box(tree.Box)
|
||||
box.renameSubTrees(tree)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue