Add default report frame multi value separator
This commit is contained in:
parent
734bd2c21f
commit
8f3c3c3ea7
@ -103,7 +103,12 @@ func (b *reportFrameBuilder) stringifyVal(col string, val any) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (b *reportFrameBuilder) joinMultiVal(col string, vals []string) 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() {
|
func (b *reportFrameBuilder) freshFrame() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user