Modify ↓
Opened 16 years ago
Closed 16 years ago
#4678 closed enhancement (wontfix)
Can "select" type be a lookup into the database?
Reported by: | jerry2038 | Owned by: | osimons |
---|---|---|---|
Priority: | normal | Component: | CustomFieldAdminPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I installed CustomFieldAdmin tonight, and it seems very handy. I would like to suggest that the select type be either a list of options as it is now that produces a dropdown box, OR, a SQL statement that produces a list of {key, label} pairs used to populate the dropdown.
(That way we could tie trac into other aspects of our projects and have the dropdowns always be as accurate as our other web database applications... If that makes sense.)
Example:
Select:
select key, name from software_version; or select test_case_id, test_case_name from test_case;
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Sorry, but no: All this plugin does is edit the
trac.ini
file. Without support for dynamic lookup in Trac there is nothing the plugin can do as it does not (and should not) replace Trac ticket and query code.