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
7e3b3b40
Commit
7e3b3b40
authored
Oct 02, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 601394 - Make xt/search.t test the deadlinefrom and deadline to search
query parameters r=mkanat, a=mkanat (module owner)
parent
38230573
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
FieldTestNormal.pm
xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm
+9
-1
No files found.
xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm
View file @
7e3b3b40
...
...
@@ -71,9 +71,16 @@ sub search_params {
}
return
{
chfield
=>
$field
,
$ch_param
=>
$value
};
}
if
(
$field
eq
'deadline'
and
$operator
eq
'greaterthaneq'
)
{
return
{
deadlinefrom
=>
$value
};
}
if
(
$field
eq
'deadline'
and
$operator
eq
'lessthaneq'
)
{
return
{
deadlineto
=>
$value
};
}
$field
=~
s/\./_/g
;
return
{
$field
=>
$value
,
"${field}_type"
=>
$
self
->
operator
};
return
{
$field
=>
$value
,
"${field}_type"
=>
$operator
};
}
1
;
\ No newline at end of file
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