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
9dd61f71
Commit
9dd61f71
authored
Jan 17, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new "keywords" cache to display keywords in bug lists. Not only
is this much faster, but it also lets you sort by that column, and requires less special-case code.
parent
9178b8f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
buglist.cgi
buglist.cgi
+1
-15
No files found.
buglist.cgi
View file @
9dd61f71
...
...
@@ -182,6 +182,7 @@ DefCol("os", "substring(bugs.op_sys, 1, 4)", "OS", "bugs.op_sys");
DefCol
(
"target_milestone"
,
"bugs.target_milestone"
,
"TargetM"
,
"bugs.target_milestone"
);
DefCol
(
"votes"
,
"bugs.votes"
,
"Votes"
,
"bugs.votes desc"
);
DefCol
(
"keywords"
,
"bugs.keywords"
,
"Keywords"
,
"bugs.keywords"
);
my
@collist
;
if
(
defined
$::COOKIE
{
'COLUMNLIST'
})
{
...
...
@@ -570,8 +571,6 @@ foreach my $c (@collist) {
}
else
{
$tablestart
.=
$::title
{
$c
};
}
}
elsif
(
$c
eq
"keywords"
)
{
$tablestart
.=
"<TH valign=left>Keywords</TH>"
;
}
}
...
...
@@ -657,19 +656,6 @@ while (@row = FetchSQLData()) {
$value
=
"<nobr>$value</nobr>"
;
}
pnl
"<td class=$c>$value"
;
}
elsif
(
$c
eq
"keywords"
)
{
my
$query
=
$::db
->
query
(
"SELECT keyworddefs.name
FROM keyworddefs, keywords
WHERE keywords.bug_id = $bug_id
AND keyworddefs.id = keywords.keywordid
ORDER BY keyworddefs.name"
);
my
@list
;
my
@row
;
while
(
@row
=
$query
->
fetchrow
())
{
push
(
@list
,
$row
[
0
]);
}
pnl
(
"<td>"
.
join
(
", "
,
@list
)
.
"</td>"
);
}
}
if
(
$dotweak
)
{
...
...
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