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
255a2bf2
Commit
255a2bf2
authored
Oct 02, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 601371: Make bug_status_type work as a search query parameter
r=mkanat, a=mkanat (module owner)
parent
dcc65060
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Search.pm
Bugzilla/Search.pm
+6
-0
No files found.
Bugzilla/Search.pm
View file @
255a2bf2
...
...
@@ -1234,6 +1234,11 @@ sub _special_parse_bug_status {
my
(
$self
)
=
@_
;
my
$params
=
$self
->
_params
;
return
if
!
defined
$params
->
{
'bug_status'
};
# We want to allow the bug_status_type parameter to work normally,
# meaning that this special code should only be activated if we are
# doing the normal "anyexact" search on bug_status.
return
if
(
defined
$params
->
{
'bug_status_type'
}
and
$params
->
{
'bug_status_type'
}
ne
'anyexact'
);
my
@bug_status
=
$self
->
_param_array
(
'bug_status'
);
# Also include inactive bug statuses, as you can query them.
...
...
@@ -1405,6 +1410,7 @@ sub _valid_values {
my
(
$input
,
$valid
,
$extra_value
)
=
@_
;
my
@result
;
foreach
my
$item
(
@$input
)
{
$item
=
trim
(
$item
);
if
(
defined
$extra_value
and
$item
eq
$extra_value
)
{
push
(
@result
,
$item
);
}
...
...
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