3
0

Add default report frame multi value separator

This commit is contained in:
Tomaž Jerman 2022-11-23 14:02:05 +01:00 committed by Jože Fortun
parent 734bd2c21f
commit 8f3c3c3ea7

View File

@ -103,7 +103,12 @@ func (b *reportFrameBuilder) stringifyVal(col string, val any) string {
}
func (b *reportFrameBuilder) joinMultiVal(col string, vals []string) string {
return strings.Join(vals, b.attrMvDel[col])
// @todo b.attrMvDel[col] is never actually set so it should be ALONG with this default
del, ok := b.attrMvDel[col]
if !ok {
del = "\n"
}
return strings.Join(vals, del)
}
func (b *reportFrameBuilder) freshFrame() {