remove debug puts

This commit is contained in:
Kyle Drake 2024-08-15 11:53:58 -05:00
parent 498f29bfa2
commit 3d58817927

View file

@ -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}