Opened 9 years ago

Closed 9 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


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.)



select key, name from software_version; or select test_case_id, test_case_name from test_case;

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by osimons

Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain osimons.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.