]> source.dussan.org Git - redmine.git/commitdiff
Order issues by id on the roadmap.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 18 Feb 2008 18:28:37 +0000 (18:28 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 18 Feb 2008 18:28:37 +0000 (18:28 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1163 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/roadmap.rhtml

index 4dc94b8c667a6926c0148b671ee54d61543b33f8..fbfec472741948349218072f536725430e01e79d 100644 (file)
@@ -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>