Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Database gallery view https://github.com/siyuan-note/siyuan/issues/10414

Daniel09f0fce4f426
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index e8ad1b4711..35f8f39356 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -45,7 +45,7 @@ import (
)
func (tx *Transaction) doSetAttrViewBlockView(operation *Operation) (ret *TxErr) {
- err := SetDatabaseBlockView(operation.BlockID, operation.ID, operation.AvID)
+ err := SetDatabaseBlockView(operation.BlockID, operation.AvID, operation.ID)
if err != nil {
return &TxErr{code: TxErrWriteAttributeView, id: operation.AvID, msg: err.Error()}
}