wrap relation field totals description display value
This commit is contained in:
parent
a68eddd928
commit
8190d56286
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ class ResultSet(object):
|
||||||
subTotalsRow.data[gf.output] = u'SUMME: ' + display
|
subTotalsRow.data[gf.output] = u'SUMME: ' + display
|
||||||
else:
|
else:
|
||||||
v = gf.totalsDescription.getDisplayValue(row)
|
v = gf.totalsDescription.getDisplayValue(row)
|
||||||
|
if isinstance(v, dict):
|
||||||
|
v = v.get('title', '')
|
||||||
if v is None:
|
if v is None:
|
||||||
v = u''
|
v = u''
|
||||||
subTotalsRow.data[gf.totalsDescription.output] = v
|
subTotalsRow.data[gf.totalsDescription.output] = v
|
||||||
|
|
Loading…
Add table
Reference in a new issue