Skip to content

Commit

Permalink
Hide heavily downvoted projects from review
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Sep 13, 2023
1 parent c60972c commit b4a7a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/projects_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def lookup
end

def review
@scope = Project.unreviewed.matching_criteria.includes(:votes)
@scope = Project.unreviewed.matching_criteria.where('vote_score > ?', -3).includes(:votes)

if params[:sort]
@scope = @scope.order("#{params[:sort]} #{params[:order]}")
Expand Down

0 comments on commit b4a7a5c

Please sign in to comment.