From b70eb287849dcd83728bd4f2c4e3d4d58f1eedd9 Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 23 Nov 2008 01:46:00 -0600 Subject: [PATCH] better sorting of hall of famers for real site --- app/controllers/home.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/home.rb b/app/controllers/home.rb index a272357..a9465b8 100644 --- a/app/controllers/home.rb +++ b/app/controllers/home.rb @@ -8,7 +8,7 @@ class Home < Application end def hall_of_fame - @top_oneness = Photo.find :all, :order => 'oneness DESC, id DESC', :limit => 10, :conditions => 'oneness > 0 AND facebook_id IS NULL' + @top_oneness = Photo.find :all, :order => 'oneness DESC, votes_count DESC, id DESC', :limit => 10, :conditions => 'oneness > 0 AND facebook_id IS NULL' render end