Bug 204798 - Total in graph report is incorrect. Patch by kniht@us.ibm.com; r=gerv, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@144803 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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 %]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user