git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5837 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/1.2.0
@@ -13,7 +13,7 @@ class FilesController < ApplicationController | |||
'created_on' => "#{Attachment.table_name}.created_on", | |||
'size' => "#{Attachment.table_name}.filesize", | |||
'downloads' => "#{Attachment.table_name}.downloads" | |||
@containers = [ Project.find(@project.id, :include => :attachments, :order => sort_clause)] | |||
@containers += @project.versions.find(:all, :include => :attachments, :order => sort_clause).sort.reverse | |||
render :layout => !request.xhr? |