Modify

Opened 5 years ago

Closed 5 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)

Change History (1)

comment:1 Changed 5 years ago by osimons

  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from osimons. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.