mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958
This commit is contained in:
@@ -277,6 +277,9 @@ func SaveAttributeView(av *AttributeView) (err error) {
|
||||
for _, v := range kv.Values {
|
||||
if "" == kv.Key.ID {
|
||||
kv.Key.ID = ast.NewNodeID()
|
||||
for _, v := range kv.Values {
|
||||
v.KeyID = kv.Key.ID
|
||||
}
|
||||
}
|
||||
if "" == v.KeyID {
|
||||
v.KeyID = kv.Key.ID
|
||||
|
||||
Reference in New Issue
Block a user