Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
94c8b7f2
Commit
94c8b7f2
authored
Jul 14, 2003
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 204798 - Total in graph report is incorrect. Patch by kniht@us.ibm.com; r=gerv, a=justdave.
parent
25271dda
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
report.cgi
report.cgi
+1
-1
report.html.tmpl
template/en/default/reports/report.html.tmpl
+9
-1
No files found.
report.cgi
View file @
94c8b7f2
...
@@ -198,7 +198,7 @@ foreach my $tbl (@tbl_names) {
...
@@ -198,7 +198,7 @@ foreach my $tbl (@tbl_names) {
push
(
@tbl_data
,
\
@col_data
);
push
(
@tbl_data
,
\
@col_data
);
}
}
push
(
@image_data
,
\
@tbl_data
);
unshift
(
@image_data
,
\
@tbl_data
);
}
}
$vars
->
{
'col_field'
}
=
$col_field
;
$vars
->
{
'col_field'
}
=
$col_field
;
...
...
template/en/default/reports/report.html.tmpl
View file @
94c8b7f2
...
@@ -94,8 +94,16 @@
...
@@ -94,8 +94,16 @@
[% imageurl = BLOCK %]report.cgi?[% imagebase %]&format=
[% imageurl = BLOCK %]report.cgi?[% imagebase %]&format=
[% format FILTER url_quote %]&ctype=png&action=plot&
[% format FILTER url_quote %]&ctype=png&action=plot&
[% IF tbl_field AND tbl != "-total-" %]
[% IF tbl_field %]
[% IF tbl != "-total-" %]
[% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %]&
[% 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 %]width=[% width %]&height=[% height %]
[% END %]
[% END %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment