Closed
Bug 533878
Opened 15 years ago
Closed 11 years ago
Allow relative date searches involving date/time custom fields
Categories
(Bugzilla :: Query/Bug List, enhancement, P2)
Tracking
()
RESOLVED
FIXED
Bugzilla 5.0
People
(Reporter: bugreport, Assigned: glob)
References
Details
Attachments
(1 file)
3.26 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
When a boolean search involves the value in a date/time custom field, the comparison should use timestamp_compare and gain the full capabilities of sqlifyDate, but it doesn't. For example, compare such a field to '7d' and the '7d' winds up in the sql. This does not appear to be any different on the tip.
Comment 1•15 years ago
|
||
Thanks for filing this--it's something I've known about for a while but I'm not sure it was filed already (though it may have been, perhaps with a strange summary or something).
Severity: normal → enhancement
Summary: Relative date searches involving date/time custom fields don't work → Allow relative date searches involving date/time custom fields
Comment 2•14 years ago
|
||
would be great to have such a capability. maybe it is sufficent to have extra comparisions as "is date", "date before",...
Updated•12 years ago
|
Priority: -- → P2
this patch adds relative date support for all date/datetime fields. for example, if you had a due-date custom date field, and wanted to search for all bugs due in the next two weeks, you can do: (match all of the following against the same field): (due date) (is greater than or equal to) "now" (due date) (is less than or equal to) "+2w"
Assignee: query-and-buglist → glob
Status: NEW → ASSIGNED
Attachment #770041 -
Flags: review?(LpSolit)
Comment 6•11 years ago
|
||
Comment on attachment 770041 [details] [diff] [review] patch v1 Nice! r=LpSolit
Attachment #770041 -
Flags: review?(LpSolit) → review+
Updated•11 years ago
|
Flags: approval?
Target Milestone: --- → Bugzilla 5.0
Updated•11 years ago
|
Flags: approval? → approval+
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Search.pm modified t/011pod.t Committed revision 8658.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•