Bug 181221 - CSV reports on 2-d tables have header messed up. Patch by gerv; r=joel, a=justdave.

This commit is contained in:
gerv%gerv.net 2002-11-26 21:09:09 +00:00
Родитель 25a292272c
Коммит 9018e58b6c
1 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -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 %]
[% 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 FILTER csv %],
[% col_field_disp %]
[% END %]
[% title FILTER csv %],
[% IF col_field -%]
[% FOREACH col = col_names -%]
[% col FILTER csv -%],