Project

General

Profile

Menu items for predefined issue trackers

Added by Reinout van Schouwen about 16 years ago

Hi all;

I've been asked to adapt Redmine for internal use in our organization.
Part of this effort is splitting the "Issues" menu item in two items named "Stories" and "Bugs", corresponding to two predefined trackers.
My idea is to reuse the Issue controller but to pre-set a tracker filter.

I could add an attribute to MenuItem to indicate what tracker value to pass on, or I could create multiple specialized subclasses of the issue controller. Can anyone tell me if that's the right way to go, or maybe if there are simpler ways to do what I want?

regards,

Reinout van Schouwen


Replies (1)

RE: Menu items for predefined issue trackers - Added by Thomas Lecavelier about 16 years ago

Hi Reinout,

Just hack the tab view to duplicate issues tab with a different name twice, then hack the issues controller to take a param to handle the tracker type (and hide tracker selection in the view) and I think you're done. That's the work of a day.

Have a nice day,

Tom.

    (1-1/1)