Closed
Bug 1546717
Opened 6 years ago
Closed 6 years ago
Add the ability to search on count gt/lt/eq
Categories
(bugzilla.mozilla.org :: Search, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: calixte, Assigned: kohei)
References
Details
Attachments
(1 file)
Some fields have a list as value, e.g. regressed_by, depends_on, keywords, ...
It'd be nice to be able to search on the number of elements in the list.
For example:
'f1': 'regressed_by',
'o1': 'count_greaterthan',
'v1': 3
will return all the bugs where regressed_by contains more than 3 bugs.
Assignee | ||
Comment 1•6 years ago
•
|
||
What we have now:
- Number of comments
- Votes
- Duplicate Count (BMO extension, not searchable, Bug 985285)
- CC Count (BMO extension, not searchable, Bug 62718)
Most fields are uncountable so we probably have to add new fields, not an operator.
- Number of Attachments (Bug 1440227)
- Number of Keywords
- Number of Depends on
- Number of Blocks
- Number of Regressions
- (Number of Regressed by) <- We probably don’t need this, because it’s 0 or 1. Technically it can be multiple though.
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•6 years ago
|
||
We want to expose these fields as columns in search results as well as fields in the /rest/bug
API, right?
Comment 3•6 years ago
|
||
That's probably unnecessary, as they can be calculated from the already existing fields.
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Merged to master.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•