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

Danielaa0445127845
diff --git a/kernel/api/av.go b/kernel/api/av.go
index 594ade7ef7..59e7575972 100644
--- a/kernel/api/av.go
+++ b/kernel/api/av.go
@@ -97,8 +97,9 @@ func setDatabaseBlockView(c *gin.Context) {
blockID := arg["id"].(string)
viewID := arg["viewID"].(string)
+ avID := arg["avID"].(string)
- err := model.SetDatabaseBlockView(blockID, viewID)
+ err := model.SetDatabaseBlockView(blockID, avID, viewID)
if err != nil {
ret.Code = -1
ret.Msg = err.Error()