From 9fe7ec66f8d871ca86300ad80176f267afa940bd Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 7 Jan 2016 21:33:25 +0100 Subject: Bug 1232716: Tabular reports with no column selected are not sortable r=dkl --- template/en/default/reports/report-table.html.tmpl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'template') diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl index 03f3147df..9027efa73 100644 --- a/template/en/default/reports/report-table.html.tmpl +++ b/template/en/default/reports/report-table.html.tmpl @@ -37,18 +37,21 @@ [% total_key = '-total-' %] [%# Most of these classes are defined in the DataTables plugin itself. %] - [% IF col_field %] - + - + [% FOREACH col = col_names %] - [% NEXT IF col == "" %] [% END %] - - [% END %] + [% FOREACH row = row_names %] -- cgit v1.2.3-24-g4f1b
↓ [% row_field_disp FILTER html %] \ [% col_field_disp FILTER html %] → + [% IF col_field %] + ↓ [% row_field_disp FILTER html %] \ [% col_field_disp FILTER html %] → + [% ELSE %] + [% row_field_disp FILTER html %] + [% END %] + [% PROCESS value_display value = col field = col_field %]Total