Skip to content

Commit

Permalink
Fix filtering by contributor
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jul 25, 2024
1 parent 2b99d75 commit 73b9427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/collections_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def show
scope = @collection.contributor_projects(params[:contributor])
end

if params[:language].present? || params[:keyword].present? || params[:committer].present? || params[:dependency].present? || params[:owner].present?
if params[:language].present? || params[:keyword].present? || params[:committer].present? || params[:dependency].present? || params[:owner].present? || params[:contributor].present?
@pagy, @projects = pagy_array(scope)
else
@pagy, @projects = pagy_countless(scope)
Expand Down

0 comments on commit 73b9427

Please sign in to comment.