better sorting of hall of famers for real site

master
andrew 2008-11-23 01:46:00 -06:00
parent 425b6c6926
commit b70eb28784
1 changed files with 1 additions and 1 deletions

View File

@ -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