Commit 94c8b7f2 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 204798 - Total in graph report is incorrect. Patch by kniht@us.ibm.com; r=gerv, a=justdave.

parent 25271dda
......@@ -198,7 +198,7 @@ foreach my $tbl (@tbl_names) {
push(@tbl_data, \@col_data);
}
push(@image_data, \@tbl_data);
unshift(@image_data, \@tbl_data);
}
$vars->{'col_field'} = $col_field;
......
......@@ -94,8 +94,16 @@
[% imageurl = BLOCK %]report.cgi?[% imagebase %]&format=
[% format FILTER url_quote %]&ctype=png&action=plot&
[% IF tbl_field AND tbl != "-total-" %]
[% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %]&
[% IF tbl_field %]
[% IF tbl != "-total-" %]
[% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %]&
[% ELSE %]
[% FOREACH tblname = tbl_names %]
[% IF tblname != "-total-" %]
[% tbl_field FILTER url_quote %]=[% tblname FILTER url_quote %]&
[% END %]
[% END %]
[% END %]
[% END %]width=[% width %]&height=[% height %]
[% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment