Closed
Bug 291209
Opened 20 years ago
Closed 19 years ago
Allow Relative Date Searches by Hour
Categories
(Bugzilla :: Query/Bug List, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: Callek, Assigned: Callek)
References
Details
Attachments
(1 file, 3 obsolete files)
|
4.48 KB,
patch
|
bugreport
:
review+
|
Details | Diff | Splinter Review |
When running a query based on relative dates, searching based on relative hours should also be possible.
| Assignee | ||
Comment 1•20 years ago
|
||
I opted for beginning of hour, to stay consistant with other relative search's, (even though what I really wanted was exactly foo-hours ago. Is this enough for Bugzilla Stable? (as in if I was to get justdave to update bmo with this, or do I need to checkout a branch)
Attachment #181340 -
Flags: review?(bugreport)
| Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 181340 [details] [diff] [review] Described Patch, to cvs-tip sorry for tabs, I can provide a non-tabify patch later if you like.
| Assignee | ||
Comment 3•20 years ago
|
||
Noticed a mistake in the edited help file...and fixed tabs this time.
Attachment #181340 -
Attachment is obsolete: true
Attachment #181344 -
Flags: review?(bugreport)
| Assignee | ||
Updated•20 years ago
|
Attachment #181340 -
Flags: review?(bugreport)
Comment 4•20 years ago
|
||
I'm not sure if I prefer hours being relative to the beginning of an hour or simply being 60 minutes. I'd opt for 60 minutes which would mean... Hour - relative to now Day - relative to midnight Week - 7 days Month - relative to first of month Year - relative to first of year
| Assignee | ||
Comment 5•20 years ago
|
||
As descussed on IRC, \dh will now be equal to $1*60 minutes; though if the number is 0, will match current behavior.
Attachment #181344 -
Attachment is obsolete: true
Attachment #181502 -
Flags: review?(bugreport)
| Assignee | ||
Updated•20 years ago
|
Attachment #181344 -
Flags: review?(bugreport)
Comment 6•20 years ago
|
||
Comment on attachment 181502 [details] [diff] [review] v3 + # Special case 0h for 'beginning of this hour' + if ($amount == 0;) { oops... wont compile
Attachment #181502 -
Flags: review?(bugreport) → review-
| Assignee | ||
Comment 7•20 years ago
|
||
sorry about that
Attachment #181502 -
Attachment is obsolete: true
Attachment #181504 -
Flags: review?(bugreport)
Updated•20 years ago
|
Attachment #181504 -
Flags: review?(bugreport) → review+
Comment 8•20 years ago
|
||
holding approval until we branch. I've had requests for this though, so I might consider applying it to bmo before then if I get a chance to test it on the backup installation.
Flags: approval?
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.22
Updated•20 years ago
|
Severity: normal → enhancement
Updated•19 years ago
|
Flags: approval? → approval+
Comment 9•19 years ago
|
||
Checking in Bugzilla/Search.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v <-- Search.pm new revision: 1.100; previous revision: 1.99 done Checking in template/en/default/search/search-help.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/search/search-help.html.tmpl,v <-- search-help.html.tmpl new revision: 1.6; previous revision: 1.5 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 10•19 years ago
|
||
*** Bug 301344 has been marked as a duplicate of this bug. ***
Comment 11•19 years ago
|
||
(In reply to comment #10) > *** Bug 301344 has been marked as a duplicate of this bug. *** I know it's late, but can this also be part of 2.20? With the new whine.pl feature, searching based on relative hours becomes a lot more useful (such as auto-notifying unattended critical bugs).
Comment 12•19 years ago
|
||
Dave: any chance we can get this on b.m.o.? See bug 54330. Gerv
You need to log in
before you can comment on or make changes to this bug.
Description
•