mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
order follows by score
This commit is contained in:
parent
e26e23b439
commit
c4995ce262
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ class Site < Sequel::Model
|
|||
|
||||
# Who this site is following
|
||||
def follows_dataset
|
||||
super.select_all(:follows).inner_join(:sites, :id=>:actioning_site_id).exclude(:sites__is_deleted => true).order(:follow_count.desc,:views.desc,:updated_at.desc)
|
||||
super.select_all(:follows).inner_join(:sites, :id=>:actioning_site_id).exclude(:sites__is_deleted => true).order(:score.desc)
|
||||
end
|
||||
|
||||
def profile_follows_actioning_ids
|
||||
|
|
Loading…
Add table
Reference in a new issue