mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
🎨 Improve database sort/calc for relation and rollup
This commit is contained in:
parent
02415b8e90
commit
bf4ad0972b
6 changed files with 60 additions and 54 deletions
|
|
@ -598,7 +598,7 @@ func getAttributeViewContent(avID string) (content string) {
|
|||
if nil == cell.Value {
|
||||
continue
|
||||
}
|
||||
buf.WriteString(cell.Value.String())
|
||||
buf.WriteString(cell.Value.String(true))
|
||||
buf.WriteByte(' ')
|
||||
}
|
||||
}
|
||||
|
|
@ -1055,7 +1055,7 @@ func renderTemplateCol(ial map[string]string, rowValues []*av.KeyValues, tplCont
|
|||
dataModel[rowValue.Key.Name] = v.Rollup.Contents[0].Number.Content
|
||||
}
|
||||
} else {
|
||||
dataModel[rowValue.Key.Name] = v.String()
|
||||
dataModel[rowValue.Key.Name] = v.String(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue