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
7a288e93
Commit
7a288e93
authored
Jan 11, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Asking for both keywords and CC info was creating corrupted SQL.
parent
c3ea2bd2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
buglist.cgi
buglist.cgi
+2
-2
No files found.
buglist.cgi
View file @
7a288e93
...
@@ -308,7 +308,7 @@ if ($::FORM{'keywords'}) {
...
@@ -308,7 +308,7 @@ if ($::FORM{'keywords'}) {
}
}
}
}
if
(
@list
)
{
if
(
@list
)
{
$query
=~
s/
bugs,/bugs, keywords,
/
;
$query
=~
s/
where/, keywords where
/
;
$query
.=
"and keywords.bug_id = bugs.bug_id and ("
.
$query
.=
"and keywords.bug_id = bugs.bug_id and ("
.
join
(
" $::FORM{'keywords_type'} "
,
@list
)
.
")\n"
;
join
(
" $::FORM{'keywords_type'} "
,
@list
)
.
")\n"
;
}
}
...
@@ -435,7 +435,7 @@ if (defined $ref) {
...
@@ -435,7 +435,7 @@ if (defined $ref) {
if
(
defined
$ref
&&
0
<
@$ref
)
{
if
(
defined
$ref
&&
0
<
@$ref
)
{
# Do surgery on the query to tell it to patch in the bugs_activity
# Do surgery on the query to tell it to patch in the bugs_activity
# table.
# table.
$query
=~
s/
bugs,/bugs, bugs_activity,
/
;
$query
=~
s/
where/, bugs_activity where
/
;
my
@list
;
my
@list
;
foreach
my
$f
(
@$ref
)
{
foreach
my
$f
(
@$ref
)
{
...
...
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