Search By Change History: date range is ignored when field is not specified
Categories
(bugzilla.mozilla.org :: Search, defect)
Tracking
()
People
(Reporter: lizzard, Assigned: kohei)
References
Details
(Keywords: ux-error-prevention)
Attachments
(2 files)
In advanced searches, the date range picker isn't working correctly. The date is successfully limited to (stuff changed) for on or greater than a beginning date, but I can't set a date boundary for "less than", so can't change the ending date for a query. All queries seem to default to end "now" despite what I choose.
Assignee | ||
Comment 1•5 years ago
|
||
Will take a look.
Assignee | ||
Comment 2•5 years ago
|
||
It seems working for me. The following queues return the same 5 results:
- Search By Change History: https://bugzilla.mozilla.org/buglist.cgi?product=Bugzilla&chfield=%5BBug%20creation%5D&chfieldfrom=-6m&chfieldto=-5m
- Custom Search: https://bugzilla.mozilla.org/buglist.cgi?product=Bugzilla&f1=creation_ts&o1=greaterthan&v1=-6m&f2=creation_ts&o2=lessthan&v2=-5m
Liz: can you provide your query?
Reporter | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
The UI has to be improved. I myself forgot to select [Bug creation]
several times. When a data range is given, the change fields = <select name="chfield”>
should be marked as required
.
Assignee | ||
Comment 6•5 years ago
|
||
The fix goes to advanced-search.js
which is being added in Bug 1543700.
Assignee | ||
Comment 7•5 years ago
|
||
I’ll go ahead and merge the code later.
Assignee | ||
Comment 8•5 years ago
|
||
The PR selects [Bug creation] by default, so the results will make sense even if you forget to select a field.
Assignee | ||
Comment 9•5 years ago
|
||
Hmm, no, just do this:
When a data range is given, the change fields =
<select name="chfield”>
should be marked asrequired
.
Assignee | ||
Comment 10•5 years ago
|
||
Merged to master.
Description
•