mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +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
|
ds = ds.order :follow_count.desc, :views.desc, :updated_at.desc
|
||||||
else
|
else
|
||||||
params[:sort_by] = 'followers'
|
params[:sort_by] = 'followers'
|
||||||
|
ds = ds.where{views > 10_000}
|
||||||
ds = ds.order :follow_count.desc, :views.desc, :updated_at.desc
|
ds = ds.order :follow_count.desc, :views.desc, :updated_at.desc
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue