An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Keep the width when duplicating database table view field https://github.com/siyuan-note/siyuan/issues/11552
Daniel22c94e9a6873
diff --git a/kernel/sql/av.go b/kernel/sql/av.goindex 82bb1b25b2..abc6579f67 100644--- a/kernel/sql/av.go+++ b/kernel/sql/av.go@@ -59,7 +59,18 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query sfor _, col := range view.Table.Columns {key, getErr := attrView.GetKey(col.ID)if nil != getErr {+ switch view.LayoutType {+ case av.LayoutTypeTable:+ for i, column := range view.Table.Columns {+ if column.ID == col.ID {+ view.Table.Columns = append(view.Table.Columns[:i], view.Table.Columns[i+1:]...)+ break+ }+ }+ }+logging.LogWarnf("get key [%s] failed: %s", col.ID, getErr)+ av.SaveAttributeView(attrView)continue}