Skip to content

Commit c844ba6

Browse files
committed
Change default project sorting to score
1 parent bc6ca52 commit c844ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/projects_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def index
2121
if params[:sort]
2222
@scope = @scope.order("#{params[:sort]} #{params[:order]}")
2323
else
24-
@scope = @scope.order('last_synced_at DESC nulls last')
24+
@scope = @scope.order('score DESC nulls last')
2525
end
2626

2727
@pagy, @projects = pagy(@scope)

0 commit comments

Comments
 (0)