Ticket #918 (new enhancement)
[patch] Custom Ticket Fields should support the multiple selection type
| Reported by: | cboos@… | Owned by: | ecarter |
|---|---|---|---|
| Priority: | high | Milestone: | 0.13 |
| Component: | ticket system | Version: | devel |
| Severity: | normal | Keywords: | ticket custom multi tracobject multiple_select multiple select |
| Cc: |
Description
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 trac.ini for multi would be the same as it is for select.
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 the ticket_custom table. With that, the query support would be easier to add.


