diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2016-01-07 21:33:25 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2016-01-07 21:33:25 +0100 |
commit | 9fe7ec66f8d871ca86300ad80176f267afa940bd (patch) | |
tree | 18fb7b380ecfddd34d209341b79121074dc7c304 /template | |
parent | 76fd2f8984309af7331c470d9340e03dcadae56f (diff) | |
download | bugzilla-9fe7ec66f8d871ca86300ad80176f267afa940bd.tar.gz bugzilla-9fe7ec66f8d871ca86300ad80176f267afa940bd.tar.xz |
Bug 1232716: Tabular reports with no column selected are not sortable
r=dkl
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/reports/report-table.html.tmpl | 15 |
1 files 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 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. %] <table id="tabular_report_[% table_id FILTER html %]" class="tabular_report display cell-border compact"> - [% IF col_field %] - <thead> + <thead> <tr> - <th>↓ [% row_field_disp FILTER html %] \ [% col_field_disp FILTER html %] →</th> + <th> + [% IF col_field %] + ↓ [% row_field_disp FILTER html %] \ [% col_field_disp FILTER html %] → + [% ELSE %] + [% row_field_disp FILTER html %] + [% END %] + </th> [% FOREACH col = col_names %] - [% NEXT IF col == "" %] <th>[% PROCESS value_display value = col field = col_field %]</th> [% END %] <th class="ttotal">Total</th> </tr> - </thead> - [% END %] + </thead> <tbody> [% FOREACH row = row_names %] <tr> |