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)

defect
Not set
normal

Tracking

()

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.
Oh and while you are on it, please document "order" in POD. It's currently missing.
Target Milestone: Bugzilla 5.0 → ---
Assignee: webservice → kohei.yoshino
Blocks: 1529362
Component: WebService → API
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: 4.5 → Production
Status: NEW → ASSIGNED

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
Attachment #9387659 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: