Loading...
 
Skip to main content

Features / Usability


Re: Tracker field - dropdown list from external database

Just in case anyone else looks at this, I've managed to find a solution.

I've modified /lib/core/Tracker/Field/Dropdown.php ro raise an event when it sets up the options array. In my event handler I then look at the options (which I've used to identify the database query I need to execute), build the query, execute it, and extract the results to give the options I really want to display in the dropdown.

I had to extend the event handling to allow a result to be passed back from the user event.

But it's now working fine.

Kevin