mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-25 19:08:49 +01:00
🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958
This commit is contained in:
parent
246f08d7c2
commit
d18eb01d15
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue