mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
set minimum views to 10k for browse followers
This commit is contained in:
parent
77870927ac
commit
5728d6ff7f
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ def browse_sites_dataset
|
|||
ds = ds.order :follow_count.desc, :views.desc, :updated_at.desc
|
||||
else
|
||||
params[:sort_by] = 'followers'
|
||||
ds = ds.where{views > 10_000}
|
||||
ds = ds.order :follow_count.desc, :views.desc, :updated_at.desc
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue