🎨 Supports multiple views for the database https://github.com/siyuan-note/siyuan/issues/9751
This commit is contained in:
parent
004bc16b59
commit
21dace60a2
1 changed files with 1 additions and 0 deletions
|
@ -295,6 +295,7 @@ func (tx *Transaction) doAddAttrViewView(operation *Operation) (ret *TxErr) {
|
|||
}
|
||||
|
||||
view := av.NewView()
|
||||
view.ID = operation.ID
|
||||
attrView.Views = append(attrView.Views, view)
|
||||
attrView.ViewID = view.ID
|
||||
if err = av.SaveAttributeView(attrView); nil != err {
|
||||
|
|
Loading…
Add table
Reference in a new issue