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
c0908aed
Commit
c0908aed
authored
Jan 20, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow whitespace to be used to separate keywords.
parent
72a25ca7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
buglist.cgi
buglist.cgi
+5
-2
process_bug.cgi
process_bug.cgi
+4
-2
No files found.
buglist.cgi
View file @
c0908aed
...
...
@@ -301,8 +301,11 @@ if (defined $::FORM{'sql'}) {
if
(
$::FORM
{
'keywords'
})
{
GetVersionTable
();
my
@list
;
foreach
my
$v
(
split
(
','
,
$::FORM
{
'keywords'
}))
{
my
$id
=
$::keywordsbyname
{
trim
(
$v
)};
foreach
my
$v
(
split
(
/[\s,]+/
,
$::FORM
{
'keywords'
}))
{
if
(
$v
eq
''
)
{
next
;
}
my
$id
=
$::keywordsbyname
{
$v
};
if
(
$id
)
{
push
(
@list
,
"keywords.keywordid = $id"
);
}
else
{
...
...
process_bug.cgi
View file @
c0908aed
...
...
@@ -400,8 +400,10 @@ my @keywordlist;
my
%
keywordseen
;
if
(
$::FORM
{
'keywords'
})
{
foreach
my
$keyword
(
split
(
/,/
,
$::FORM
{
'keywords'
}))
{
$keyword
=
trim
(
$keyword
);
foreach
my
$keyword
(
split
(
/[\s,]+/
,
$::FORM
{
'keywords'
}))
{
if
(
$keyword
eq
''
)
{
next
;
}
my
$i
=
$::keywordsbyname
{
$keyword
};
if
(
!
$i
)
{
print
"Unknown keyword named <code>$keyword</code>.\n"
;
...
...
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