JIRA Requirement 2.8:
Currently the bugzilla Bugzilla::Search::QuickSearch module which constructs the necessary SQL for
performing searches on the Bugzilla database, only searchs the following fields for text keywords:
* Status Whiteboard.
* If a word looks like a part of a URL, that field is included in the search, too.
You can however search most of the core Bugzilla fields (status, version, flags, groups, severity, etc.) by using field:string formatted search terms.
Custom fields are not yet searchable from quicksearch.
Also certain feature requests made in Bugzilla should be considered as well for inclusion such as showing previous quick search text in the field in buglist.cgi, etc.
Update Bugzilla::Search::QuickSearch to also include text type custom fields in the basic keyword search. Also to include the ability
to search on customfield:value search pairs as well similar to the other bug fields.
Created attachment 412414 [details]
Patch to allow simple keyword search of custom text fields (v1)
Patch to Bugzilla/Search/QuickSearch.pm that allows searching of keywords in custom fields that are either free text or text area types.
I applied your patch to bz-web1, trying to test it, but it is not working for me,unless i am doing something working, always getting the error:
Field cf_environment is not a known field. The legal field names are listed here.
for example when I search for "cf_environment:test"
and then when i click on listed here it brings a list of all possible fields, maybe a good idea to add this list the text field types of the custom fields.
Note that Bugzilla 3.6 already fully supports quicksearching of custom fields, in addition to various other nice quicksearch enhancements (including greatly improved documentation).
Yeah noticed that now after doing the changes for 3.4. We can scratch this requirement.