# HG changeset patch # User Chris Cannam # Date 1301395345 -3600 # Node ID 2cf35a3bc0c54519536c611e4202dba1083aef0d # Parent 47c8f68f7c53c04a90c4cccbf108e7178d98d047 Flip sort ordering diff -r 47c8f68f7c53 -r 2cf35a3bc0c5 app/controllers/files_controller.rb --- a/app/controllers/files_controller.rb Tue Mar 29 11:16:09 2011 +0100 +++ b/app/controllers/files_controller.rb Tue Mar 29 11:42:25 2011 +0100 @@ -8,7 +8,7 @@ include SortHelper def index - sort_init 'active', 'asc' + sort_init 'active', 'desc' sort_update 'filename' => "#{Attachment.table_name}.filename", 'active' => "#{Attachment.table_name}.active", 'created_on' => "#{Attachment.table_name}.created_on",