Issue #126 reported by Kestutis Gustaitis - reports didn't run with

translation applied.
This commit is contained in:
Ross Poulton 2010-01-20 07:42:32 +00:00
parent 2a67f37577
commit a02f398dca
2 changed files with 3 additions and 0 deletions

View File

@ -33,3 +33,5 @@ Andreas Kotowicz.
2009-12-16 r147 Issue #119 Update Russian translation, thanks to Alex Yakovlev
2009-12-23 r148 Issue #125 Errors occurring when running reports with no data
2010-01-20 r149 Issue #126 Reports didn't work with transalations.

View File

@ -849,6 +849,7 @@ def run_report(request, report):
for record in report_output:
line = []
for c in columns:
c = c.encode('utf-8')
line.append(record[c])
data.append(line)