Legal Keywords in 2.17.3

David Miller justdave at
Wed Apr 2 21:55:44 UTC 2003

On 4/2/03 1:52 PM -0800, Myk Melez wrote:

> Jon Wilmoth wrote:
>>I'd like to customize the keywords text field to be a select element.
>>Previously (2.16.x) I was able to modify to add this list.
>>However, that is now gone in 2.17.3.  Where is the best place to
>>initialize a template variable that is an array of all the available
>>keywords (Assuming one doesn't already exist)?
> See the rotted code in bug 80169
> ( for another
> pre-templatization implementation of this feature.
> I would add the code to show_bug.cgi after the GetVersionTable call and
> just set $vars->{keywords} to @::legal_keywords or %::keywordsbyname.

Actually, show_bug.cgi isn't a good place to put it because it'll be
missing when the bug form is displayed after changing a bug in process_bug.

I'd probably put it in the choices sub in
Dave Miller      Project Leader, Bugzilla Bug Tracking System   

More information about the developers mailing list