Mercurial > hg > soundsoftware-site
changeset 326:2cf35a3bc0c5 live
Flip sort ordering
author | Chris Cannam |
---|---|
date | Tue, 29 Mar 2011 11:42:25 +0100 |
parents | 47c8f68f7c53 |
children | c73f512810a9 |
files | app/controllers/files_controller.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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",