mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
remove debug puts
This commit is contained in:
parent
498f29bfa2
commit
3d58817927
1 changed files with 0 additions and 1 deletions
|
@ -71,7 +71,6 @@ def browse_sites_dataset
|
||||||
ds = ds.order :score.desc, :follow_count.desc, :views.desc, :site_updated_at.desc
|
ds = ds.order :score.desc, :follow_count.desc, :views.desc, :site_updated_at.desc
|
||||||
when 'random'
|
when 'random'
|
||||||
ds = ds.where{score > 3} unless params[:tag]
|
ds = ds.where{score > 3} unless params[:tag]
|
||||||
puts params.inspect
|
|
||||||
ds = ds.order(Sequel.lit('RANDOM()'))
|
ds = ds.order(Sequel.lit('RANDOM()'))
|
||||||
when 'most_followed'
|
when 'most_followed'
|
||||||
ds = ds.where{views > Site::BROWSE_MINIMUM_FOLLOWER_VIEWS}
|
ds = ds.where{views > Site::BROWSE_MINIMUM_FOLLOWER_VIEWS}
|
||||||
|
|
Loading…
Add table
Reference in a new issue