better sorting of hall of famers for real site
parent
425b6c6926
commit
b70eb28784
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue