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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
739565fd
Commit
739565fd
authored
Jul 02, 2001
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add strikethrough to resolved bug numbers. Bug 79816. r=jake.
parent
d4d34ee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
19 deletions
+31
-19
duplicates.cgi
duplicates.cgi
+31
-19
No files found.
duplicates.cgi
View file @
739565fd
...
@@ -86,7 +86,7 @@ else
...
@@ -86,7 +86,7 @@ else
}
}
else
else
{
{
&
die_politely
(
"There are no duplicate statistics for today or yesterday."
);
&
die_politely
(
"There are no duplicate statistics for today
($today)
or yesterday."
);
}
}
}
}
...
@@ -158,7 +158,7 @@ if ($sortby eq "delta")
...
@@ -158,7 +158,7 @@ if ($sortby eq "delta")
}
}
elsif
(
$sortby
eq
"bug_no"
)
elsif
(
$sortby
eq
"bug_no"
)
{
{
@sortedcount
=
sort
by_bug_no
keys
(
%
count
);
@sortedcount
=
reverse
sort
by_bug_no
keys
(
%
count
);
}
}
elsif
(
$sortby
eq
"dup_count"
)
elsif
(
$sortby
eq
"dup_count"
)
{
{
...
@@ -170,27 +170,39 @@ my $i = 0;
...
@@ -170,27 +170,39 @@ my $i = 0;
foreach
(
@sortedcount
)
foreach
(
@sortedcount
)
{
{
my
$id
=
$_
;
my
$id
=
$_
;
SendSQL
(
"SELECT component, bug_severity, op_sys, target_milestone, short_desc, groupset
"
.
SendSQL
(
"SELECT component, bug_severity, op_sys, target_milestone, short_desc, groupset
, bug_status
"
.
" FROM bugs WHERE bug_id = $id"
);
" FROM bugs WHERE bug_id = $id"
);
my
(
$component
,
$severity
,
$op_sys
,
$milestone
,
$summary
,
$groupset
)
=
FetchSQLData
();
my
(
$component
,
$severity
,
$op_sys
,
$milestone
,
$summary
,
$groupset
,
$bug_status
)
=
FetchSQLData
();
next
unless
$groupset
==
0
;
next
unless
$groupset
==
0
;
$summary
=
html_quote
(
$summary
);
$summary
=
html_quote
(
$summary
);
print
"<tr>"
;
print
'<td><center><A HREF="show_bug.cgi?id='
.
$id
.
'">'
;
unless
(
(
$bug_status
eq
"VERIFIED"
)
|
(
$bug_status
eq
"CLOSED"
)
)
{
print
$id
.
"</A></center></td>"
;
print
"<tr>"
;
print
"<td><center>$count{$id}</center></td>"
;
print
'<td><center>'
;
if
(
$dobefore
)
if
(
(
$bug_status
eq
"RESOLVED"
)
)
{
{
print
"<strike>"
;
print
"<td><center>$delta{$id}</center></td>"
;
}
print
"<A HREF=\"show_bug.cgi?id="
.
$id
.
"\">"
;
print
$id
.
"</A>"
;
if
(
(
$bug_status
eq
"RESOLVED"
)
)
{
print
"</strike>"
;
}
print
"</center></td>"
;
print
"<td><center>$count{$id}</center></td>"
;
if
(
$dobefore
)
{
print
"<td><center>$delta{$id}</center></td>"
;
}
print
"<td>$component</td>\n "
;
print
"<td><center>$severity</center></td>"
;
print
"<td><center>$op_sys</center></td>"
;
print
"<td><center>$milestone</center></td>"
;
print
"<td>$summary</td>"
;
print
"</tr>\n"
;
$i
++
;
}
}
print
"<td>$component</td>\n "
;
print
"<td><center>$severity</center></td>"
;
print
"<td><center>$op_sys</center></td>"
;
print
"<td><center>$milestone</center></td>"
;
print
"<td>$summary</td>"
;
print
"</tr>\n"
;
$i
++
;
if
(
$i
==
$maxrows
)
if
(
$i
==
$maxrows
)
{
{
last
;
last
;
...
...
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