An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Improve av https://github.com/siyuan-note/siyuan/issues/15469 https://github.com/siyuan-note/siyuan/issues/15468
Daniel72373ccff9c5
diff --git a/kernel/sql/av.go b/kernel/sql/av.goindex ccc2ef2538..84feb9988d 100644--- a/kernel/sql/av.go+++ b/kernel/sql/av.go@@ -39,8 +39,19 @@ func RenderGroupView(attrView *av.AttributeView, view, groupView *av.View, querycase av.LayoutTypeTable:// 这里需要使用深拷贝,因为字段上可能会带有计算(FieldCalc),每个分组视图的计算结果都需要分别存储在不同的字段实例上err = copier.CopyWithOption(&groupView.Table.Columns, &view.Table.Columns, copier.Option{DeepCopy: true})+ groupView.Table.ShowIcon = view.Table.ShowIcon+ groupView.Table.WrapField = view.Table.WrapFieldcase av.LayoutTypeGallery:err = copier.CopyWithOption(&groupView.Gallery.CardFields, &view.Gallery.CardFields, copier.Option{DeepCopy: true})+ groupView.Gallery.ShowIcon = view.Gallery.ShowIcon+ groupView.Gallery.WrapField = view.Gallery.WrapField++ groupView.Gallery.CoverFrom = view.Gallery.CoverFrom+ groupView.Gallery.CoverFromAssetKeyID = view.Gallery.CoverFromAssetKeyID+ groupView.Gallery.CardAspectRatio = view.Gallery.CardAspectRatio+ groupView.Gallery.CardSize = view.Gallery.CardSize+ groupView.Gallery.FitImage = view.Gallery.FitImage+ groupView.Gallery.DisplayFieldName = view.Gallery.DisplayFieldName}if nil != err {logging.LogErrorf("copy view fields [%s] to group [%s] failed: %s", view.ID, groupView.ID, err)