Closed Bug 601371 Opened 14 years ago Closed 14 years ago

bug_status_type does not work as a query parameter

Categories

(Bugzilla :: Query/Bug List, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file, 1 obsolete file)

For every other field in Bugzilla, you can specify (field)_type as a parameter to buglist.cgi, but for bug_status it doesn't work, due to some special custom code that's used with the bug_status field.
Attached patch v1 (obsolete) — Splinter Review
There were two problems--_valid_values wasn't trimming things, so it mistook things like " blah" for not being the same as "blah". Also, the special bug_status parsing code was activating and removing invalid bug_statuses even when we were doing substring-type searches, so I limited that code to only operating during anyexact searches.
Assignee: query-and-buglist → mkanat
Status: NEW → ASSIGNED
Attachment #480401 - Flags: review+
Attached patch v2Splinter Review
Patch v1 accidentally included some extra code from another patch I'm working on.
Attachment #480401 - Attachment is obsolete: true
Attachment #480402 - Flags: review+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/                       
modified Bugzilla/Search.pm
Committed revision 7500.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Flags: approval+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: