mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-04-24 11:59:40 -05:00
🎨 Improve database template field access rollup multiple selection https://github.com/siyuan-note/siyuan/issues/14723
This commit is contained in:
@@ -505,6 +505,10 @@ func RenderTemplateCol(ial map[string]string, rowValues []*av.KeyValues, tplCont
|
||||
for _, content := range v.Rollup.Contents {
|
||||
if av.KeyTypeNumber == content.Type {
|
||||
numbers = append(numbers, content.Number.Content)
|
||||
} else if av.KeyTypeMSelect == content.Type {
|
||||
for _, s := range content.MSelect {
|
||||
contents = append(contents, s.Content)
|
||||
}
|
||||
} else {
|
||||
contents = append(contents, content.String(true))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user