use getDisplayValue in subTotalsRow

This commit is contained in:
hplattner 2012-07-26 10:20:01 +02:00
parent 2d3dbf2be7
commit de06a8d30d

View file

@ -128,10 +128,10 @@ class ResultSet(object):
subTotalsRow.data[c.name] = values[idx] subTotalsRow.data[c.name] = values[idx]
if gf in self.subTotalsGroupColumns: if gf in self.subTotalsGroupColumns:
if gf.totalsDescription is None: if gf.totalsDescription is None:
subTotalsRow.data[gf.output] = u'SUMME: ' + gf.getRawValue(row) subTotalsRow.data[gf.output] = u'SUMME: ' + gf.getDisplayValue(row)
else: else:
subTotalsRow.data[gf.totalsDescription.output] = u'SUMME: ' + \ subTotalsRow.data[gf.totalsDescription.output] = u'SUMME: ' + \
gf.totalsDescription.getRawValue(row) gf.totalsDescription.getDisplayValue(row)
return subTotalsRow return subTotalsRow
def getResult(self): def getResult(self):