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
1a02e681
Commit
1a02e681
authored
Mar 10, 2001
by
cyeh%bluemartini.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for 6682: Chart all bug states
patch submitted by gervase.markham@univ.ox.ac.uk (Gervase Markham)
parent
20aae4d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
15 deletions
+26
-15
reports.cgi
reports.cgi
+26
-15
No files found.
reports.cgi
View file @
1a02e681
...
...
@@ -73,8 +73,8 @@ ConnectToDatabase(1);
quietly_check_login
();
print
"Content-type: text/html\n"
;
#Changing attachment to inline to resolve 46897
#
zach@zachlipton.com
# Changing attachment to inline to resolve 46897 -
zach@zachlipton.com
print
"Content-disposition: inline; filename=bugzilla_report.html\n\n"
;
# If we're here for the first time, give a banner. Else respect the banner flag.
...
...
@@ -159,7 +159,14 @@ PutFooter() if $FORM{banner};
sub
choose_product
{
my
$product_popup
=
make_options
(
\
@myproducts
,
$myproducts
[
0
]);
my
$charts
=
$use_gd
&&
-
d
$dir
?
"<option value=\"show_chart\">Bug Charts"
:
""
;
my
$datafile
=
daily_stats_filename
(
'-All-'
);
# Can we do bug charts?
my
$do_charts
=
(
$use_gd
&&
-
d
$dir
&&
-
d
$graph_dir
&&
open
(
DATA
,
"$dir/$datafile"
));
my
$charts
=
$do_charts
?
"<option value=\"show_chart\">Bug Charts"
:
""
;
print
<<FIN;
<center>
...
...
@@ -187,18 +194,18 @@ FIN
print
<<FIN;
$charts
</select>
<tr>
<td align=center><b>Chart datasets:</b></td>
<td align=center>
<select name="datasets" multiple size=5>
</tr>
FIN
my
@datasets
=
();
if
(
$do_charts
)
{
print
<<FIN;
<tr>
<td align=center><b>Chart datasets:</b></td>
<td align=center>
<select name="datasets" multiple size=5>
FIN
my
$datafile
=
daily_stats_filename
(
'-All-'
);
if
(
!
open
(
DATA
,
"$dir/$datafile"
))
{
die_politely
(
"Couldn't read daily statistics file"
);
}
my
@datasets
=
();
while
(
<
DATA
>
)
{
if
(
/^# fields?: (.+)\s*$/
)
{
...
...
@@ -217,9 +224,13 @@ FIN
}
print
<<FIN;
</select>
</td>
</tr>
</select>
</td>
</tr>
FIN
}
print
<<FIN;
<tr>
<td align=center><b>Switches:</b></td>
<td align=left>
...
...
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