relaxdiego/redmine_backlogs — Issue #376: Trackers sorted by id when adding new story
Author: jk2
Created: 2011-12-14 13:23:40+00:00
State: open

Trackers should be shown in same order as specified in Administration > Trackers.

To fix, change line in app/views/rb_stories/_helpers.html.erb

```

- <%- Tracker.find_all_by_id(Setting.plugin_redmine_backlogs[:story_trackers]).each do |tracker| %>
+ <%- Tracker.find_all_by_id(Setting.plugin_redmine_backlogs[:story_trackers]).sort_by { |t| [t.position] }.each do |tracker| %>

<%= h tracker.name %>

```