summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/report-table.html.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-11-18 08:56:25 +0100
committergerv%gerv.net <>2002-11-18 08:56:25 +0100
commit3e4c503273cd8c1ab6e9dce41ce507ca2caa1885 (patch)
treefe452467bdc7302712fcdd17b6d3fedb00a91297 /template/en/default/reports/report-table.html.tmpl
parente68c953f721afdee14a4fb7b447574e12c69abf2 (diff)
downloadbugzilla-3e4c503273cd8c1ab6e9dce41ce507ca2caa1885.tar.gz
bugzilla-3e4c503273cd8c1ab6e9dce41ce507ca2caa1885.tar.xz
Bug 180205 - General reporting fixes. Fixes bug 180151 (Grand total links are messed up when axis is restricted), bug 180105 (CSV reports occasionally break), bug 179671 (Boolean charts are broken on reporting pages), bug 179887 (report.cgi should |require Data::Dumper|, not |use|), and works around bug 179581 (Keyword combinations report not very useful). Patch by gerv; r=bbaetz, a=justdave.
Diffstat (limited to 'template/en/default/reports/report-table.html.tmpl')
-rw-r--r--template/en/default/reports/report-table.html.tmpl13
1 files changed, 9 insertions, 4 deletions
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl
index 5074484c3..e984dc6ae 100644
--- a/template/en/default/reports/report-table.html.tmpl
+++ b/template/en/default/reports/report-table.html.tmpl
@@ -37,7 +37,8 @@
[% row_field_disp = field_descs.$row_field || row_field %]
[% IF tbl == "-total-" %]
- [% urlbase = BLOCK %]buglist.cgi?[% buglistbase %][% END %]
+ [% urlbase = BLOCK %]buglist.cgi?[% buglistbase %]
+ [% "&amp;$tbl_vals" IF tbl_vals %][% END %]
[% ELSE %]
[% urlbase = BLOCK %]buglist.cgi?[% buglistbase %]&amp;
[% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %][% END %]
@@ -120,7 +121,8 @@
[% END %]
<td class="ttotal" align="right">
<a href="[% urlbase %]&amp;
- [% row_field FILTER url_quote %]=[% row FILTER url_quote %]">
+ [% row_field FILTER url_quote %]=[% row FILTER url_quote %]
+ [% "&amp;$col_vals" IF col_vals %]">
[% row_total %]</a>
[% grand_total = grand_total + row_total %]
</td>
@@ -137,14 +139,17 @@
<td class="ttotal" align="center">
<a href="[% urlbase %]&amp;
- [% col_field FILTER url_quote %]=[% col FILTER url_quote %]">
+ [% col_field FILTER url_quote %]=[% col FILTER url_quote %]
+ [% "&amp;$row_vals" IF row_vals %]">
[% col_totals.$col %]</a>
<strong>
</td>
[% END %]
<td class="ttotal" align="right">
<strong>
- <a href="buglist.cgi?[% urlbase %]">[% grand_total %]</a>
+ <a href="[% urlbase %]
+ [% "&amp;$row_vals" IF row_vals %]
+ [% "&amp;$col_vals" IF col_vals %]">[% grand_total %]</a>
</strong>
</td>
</tr>