Closed Bug 330017 Opened 18 years ago Closed 17 years ago

Keywords should be a multi-select instead of a plain-text field

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 80169

People

(Reporter: register, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

It would be nice to be able to select the keywords and add them to your keywords string. 
Now you can just see the list and copy/paste to your keywords string. 
Or am I missing something? 

Reproducible: Always
Assignee: administration → create-and-change
Status: UNCONFIRMED → NEW
Component: Administration → Creating/Changing Bugs
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Priority: -- → P3
Version: unspecified → 2.23
Priority: P3 → --
Summary: user should be able to select keywords → Keywords should be a multi-select instead of a plain-text field
Version: 2.23 → unspecified
Our company wanted this functionality as well.  I as asked to implement a multi-select box for the keywords instead of the text input box.  To enable, apply this patch to a bugzilla 2.22 installation, and go into Prefs -> Bug Fields, and turn on 'usemenuforkeywords'.  You may need to run checksetup.pl and do it again (or manually add it to data/params) to avoid some complaints from bugzilla.
Attachment #221756 - Flags: review?
Hey, great you implemented that. I just tried but did not manage to succeed so far. 

Here is what I did: 
I upgraded to the 2.22 installation and did ./checksetup.pl 

Then I applied your patch and did ./checksetup.pl
I found the usemenuforkeywords in my options and set it to true. 
It did not work, so I tried ./checksetup.pl again. 
usemenuforkeywords was still set, so I did not do anything, but it still did not work. 
Can you give more details on how to manually add to data/params. 

Could this be a problem that I use GermZilla. I first tried to patch with the German template which did not work, so then I patched the other files with the English template. 
Could this be the problem? 

Would be nice, if you could help me on this. 
Thanks
Werner

(In reply to comment #1)
> Created an attachment (id=221756) [edit]
> Adds a multiselect box for keywords to Bugzilla 2.22
> 
> Our company wanted this functionality as well.  I as asked to implement a
> multi-select box for the keywords instead of the text input box.  To enable,
> apply this patch to a bugzilla 2.22 installation, and go into Prefs -> Bug
> Fields, and turn on 'usemenuforkeywords'.  You may need to run checksetup.pl
> and do it again (or manually add it to data/params) to avoid some complaints
> from bugzilla.  
> 

Comment on attachment 221756 [details] [diff] [review]
Adds a multiselect box for keywords to Bugzilla 2.22

Thank you for the patch! Very interesting feature. Unfortunately the patch doesn't apply to Bugzilla CVS HEAD. Could you perhaps update it? Bugzilla CVS HEAD now has Bugzilla/Keyword.pm, so please use that.

If you have no time/interest just say so and I'll pick this up.

>diff -uNrp -x bugzilla/data bugzilla-2.22-nitro-bak/template/en/default/bug/edit.html.tmpl bugzilla/template/en/default/bug/edit.html.tmpl
>--- bugzilla-2.22-nitro-bak/template/en/default/bug/edit.html.tmpl	2006-05-01 14:24:15.000000000 -0600
>+++ bugzilla/template/en/default/bug/edit.html.tmpl	2006-05-11 15:20:54.000000000 -0600
>@@ -401,8 +401,15 @@
>                   <a href="describekeywords.cgi"><u>K</u>eywords</a>:
>                 </b>
>               <td colspan="5">
>-                <input name="keywords" accesskey="k"
>-                       value="[% bug.keywords.join(', ') FILTER html %]" size="60">
>+                <!-- <input name="keywords" accesskey="k"
>+                       value="[% bug.keywords.join(', ') FILTER html %]" size="60"> -->

Please do not comment things like that out, just remove it from the file (I guess it was a leftover?).
Attachment #221756 - Flags: review? → review-
No update in almost a year so I'm sure bug 80169 will be the one to go with.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: