From 09bd61da7436def15f3e5f576f8319dbac75b8f7 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <jp_lang@yahoo.fr>
Date: Mon, 18 Feb 2008 18:28:37 +0000
Subject: [PATCH] Order issues by id on the roadmap.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1163 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 app/views/projects/roadmap.rhtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml
index 4dc94b8c6..fbfec4727 100644
--- a/app/views/projects/roadmap.rhtml
+++ b/app/views/projects/roadmap.rhtml
@@ -13,7 +13,7 @@
     <% issues = version.fixed_issues.find(:all,
                                           :include => [:status, :tracker],
                                           :conditions => ["tracker_id in (#{@selected_tracker_ids.join(',')})"],
-                                          :order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty?
+                                          :order => "#{Tracker.table_name}.position, #{Issue.table_name}.id") unless @selected_tracker_ids.empty?
        issues ||= []
     %>
     <ul>
-- 
GitLab