summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-11-27 06:09:09 +0100
committergerv%gerv.net <>2002-11-27 06:09:09 +0100
commit738d3ec0bee8276d811704a86329f4da65268c05 (patch)
tree96ef6d4230dd8d423b53dd5296e6226a4599aef5 /template/en/default
parentdd668cbbea4284ae2d70c1f9111d95a496cd77c5 (diff)
downloadbugzilla-738d3ec0bee8276d811704a86329f4da65268c05.tar.gz
bugzilla-738d3ec0bee8276d811704a86329f4da65268c05.tar.xz
Bug 181221 - CSV reports on 2-d tables have header messed up. Patch by gerv; r=joel, a=justdave.
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/reports/report-table.csv.tmpl12
1 files changed, 8 insertions, 4 deletions
diff --git a/template/en/default/reports/report-table.csv.tmpl b/template/en/default/reports/report-table.csv.tmpl
index 60f3a4eef..3e702f396 100644
--- a/template/en/default/reports/report-table.csv.tmpl
+++ b/template/en/default/reports/report-table.csv.tmpl
@@ -26,10 +26,14 @@
[% col_field_disp = field_descs.$col_field || col_field %]
[% row_field_disp = field_descs.$row_field || row_field %]
-[% "$tbl_field_disp: $tbl\n" FILTER csv IF tbl_field %]
-[% row_field_disp FILTER csv IF row_field %]
-[% " / " IF col_field AND row_field %]
-[% col_field_disp FILTER csv %],
+[% title = BLOCK %]
+ [% "$tbl_field_disp: $tbl\n" IF tbl_field %]
+ [% row_field_disp IF row_field %]
+ [% " / " IF col_field AND row_field %]
+ [% col_field_disp %]
+[% END %]
+
+[% title FILTER csv %],
[% IF col_field -%]
[% FOREACH col = col_names -%]
[% col FILTER csv -%],