From 21dace60a2b70419b4b515704a4c8967a1c38f91 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 30 Nov 2023 22:01:22 +0800 Subject: [PATCH] :art: Supports multiple views for the database https://github.com/siyuan-note/siyuan/issues/9751 --- kernel/model/transaction.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go index f9563603589..11fcb87b66d 100644 --- a/kernel/model/transaction.go +++ b/kernel/model/transaction.go @@ -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 {