aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-07-14 05:25:39 +0000
committergerv%gerv.net <>2003-07-14 05:25:39 +0000
commit94c8b7f2f167dc002172af42a088beed6685fc31 (patch)
treedfb7b6d29fb3b23fd848c670e3af74fc33c50c98 /template
parent25271ddaedd0cffae571509009e99a8ab53d6093 (diff)
downloadbugs-94c8b7f2f167dc002172af42a088beed6685fc31.tar
bugs-94c8b7f2f167dc002172af42a088beed6685fc31.tar.gz
bugs-94c8b7f2f167dc002172af42a088beed6685fc31.tar.bz2
bugs-94c8b7f2f167dc002172af42a088beed6685fc31.tar.xz
bugs-94c8b7f2f167dc002172af42a088beed6685fc31.zip
Bug 204798 - Total in graph report is incorrect. Patch by kniht@us.ibm.com; r=gerv, a=justdave.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/reports/report.html.tmpl12
1 files changed, 10 insertions, 2 deletions
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index 321ad6ae8..31308c10c 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -94,8 +94,16 @@
[% imageurl = BLOCK %]report.cgi?[% imagebase %]&amp;format=
[% format FILTER url_quote %]&amp;ctype=png&amp;action=plot&amp;
- [% IF tbl_field AND tbl != "-total-" %]
- [% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %]&amp;
+ [% IF tbl_field %]
+ [% IF tbl != "-total-" %]
+ [% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %]&amp;
+ [% ELSE %]
+ [% FOREACH tblname = tbl_names %]
+ [% IF tblname != "-total-" %]
+ [% tbl_field FILTER url_quote %]=[% tblname FILTER url_quote %]&amp;
+ [% END %]
+ [% END %]
+ [% END %]
[% END %]width=[% width %]&amp;height=[% height %]
[% END %]