diff options
Diffstat (limited to 'template/en/default/list/list.csv.tmpl')
-rw-r--r-- | template/en/default/list/list.csv.tmpl | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/template/en/default/list/list.csv.tmpl b/template/en/default/list/list.csv.tmpl index 6114d6fae..be0a5bc69 100644 --- a/template/en/default/list/list.csv.tmpl +++ b/template/en/default/list/list.csv.tmpl @@ -17,15 +17,23 @@ # # Contributor(s): Myk Melez <myk@mozilla.org> # Gervase Markham <gerv@gerv.net> + # miketosh #%] [% PROCESS "global/field-descs.none.tmpl" %] [% colsepchar = user.settings.csv_colsepchar.value %] -bug_id -[% FOREACH column = displaycolumns %] - [% colsepchar %][% column FILTER csv %] +[% IF human %] + [% field_descs.bug_id FILTER csv %] + [% FOREACH column = displaycolumns %] + [% colsepchar %][% field_descs.$column FILTER csv %] + [% END %] +[% ELSE %] + bug_id + [% FOREACH column = displaycolumns %] + [% colsepchar %][% column FILTER csv %] + [% END %] [% END %] [% FOREACH bug = bugs %] |