Commit f4c86834 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 389517: CSV export gives resolution and status in English - Patch by…

Bug 389517: CSV export gives resolution and status in English - Patch by Emmanuel Seyman <eseyman@linagora.com> r/a=LpSolit
parent a32fefa5
......@@ -20,7 +20,7 @@
# Gervase Markham <gerv@gerv.net>
#%]
[% PROCESS global/variables.none.tmpl %]
[% PROCESS "global/field-descs.none.tmpl" %]
[% USE date %]
[% colsepchar = user.settings.csv_colsepchar.value %]
......@@ -37,6 +37,10 @@ bug_id
[% IF column == "opendate" OR column == "changeddate" %]
[% rawcolumn = column.replace("date", "time") %]
[% bug.$column = date.format(bug.$rawcolumn, "%Y-%m-%d %H:%M:%S") %]
[% ELSIF column == 'bug_status' %]
[% bug.$column = get_status(bug.$column) %]
[% ELSIF column == 'resolution' %]
[%- bug.$column = get_resolution(bug.$column) %]
[% END %]
[% bug.$column FILTER csv %]
[% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment