]> source.dussan.org Git - redmine.git/commitdiff
Reversed versions ordering on files list (closes #763).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 5 Mar 2008 11:54:54 +0000 (11:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 5 Mar 2008 11:54:54 +0000 (11:54 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1192 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/projects_controller.rb

index adb49114ccdbb9d1b2dfd51dc5dc70f113155254..f9d6d0f0b3361114e698042e0401e5e049560c51 100644 (file)
@@ -200,7 +200,7 @@ class ProjectsController < ApplicationController
   end
   
   def list_files
-    @versions = @project.versions.sort
+    @versions = @project.versions.sort.reverse
   end
   
   # Show changelog for @project