Open
Bug 918443
Opened 11 years ago
Updated 2 months ago
Field names specified in the "order" parameter passed to Bug.search should be converted into internal names
Categories
(Bugzilla :: WebService, defect)
Bugzilla
WebService
Tracking
()
NEW
People
(Reporter: LpSolit, Unassigned)
References
Details
Attachments
(1 obsolete file)
The API for Bug.search says to use field names such as "status" or "platform", but when you want to define how to sort the buglist, you must pass internal field names to the "order" parameter, e.g. "bug_status" or "rep_platform". IMO, we should be allowed to pass field names specified in the API, and Bug.search would then convert these names into internal ones using Bugzilla::Bug::FIELD_MAP to make Bugzilla::Search happy.
Reporter | ||
Comment 1•11 years ago
|
||
Oh and while you are on it, please document "order" in POD. It's currently missing.
Updated•10 years ago
|
Target Milestone: Bugzilla 5.0 → ---
Updated•5 years ago
|
Assignee: webservice → kohei.yoshino
Blocks: 1529362
Component: WebService → API
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: 4.5 → Production
Updated•5 years ago
|
Status: NEW → ASSIGNED
Comment 3•5 years ago
|
||
Er, the new search results page will handle the table sorting client-side, so this won’t block Bug 1529362.
Assignee: kohei.yoshino → nobody
No longer blocks: 1529362
Status: ASSIGNED → NEW
Component: API → WebService
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Version: Production → unspecified
Comment hidden (spam) |
Updated•2 months ago
|
Attachment #9387659 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•