From 9fe7ec66f8d871ca86300ad80176f267afa940bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Thu, 7 Jan 2016 21:33:25 +0100 Subject: [PATCH] Bug 1232716: Tabular reports with no column selected are not sortable r=dkl --- .../en/default/reports/report-table.html.tmpl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl index 03f3147dfe..9027efa73a 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 %] -- 2.47.3
↓ [% 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