[patch] Custom Ticket Fields should support the multiple selection type
|Reported by:||Christian Boos||Owned by:|
|Severity:||normal||Keywords:||patch ticket custom multi tracobject multiple_select multiple select css chosen|
|Cc:||jevans591@…, itamarost@…, leho@…||Branch:|
I propose an addition to the TracTicketsCustomFields.
Currently, there is support for the simple selection field:
<field>.type = select
I would like to have the
multi type as well, for multiple selection fields.
The usage in
would be the same as it is for
I implemented it in a crude way (see the accompanying patch).
I'm not entirely pleased with the patch:
- the support for query is partial (i.e. it won't work)
- the display of the fields is not as neat as I would like
A better solution would involve a change in the database:
drop the unicity constraint on the
(id,name) pair for
With that, the query support would be easier to add.