Skip to content

Commit

Permalink
meaningless param tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mjy committed Jan 16, 2019
1 parent 807ff2e commit 9bf7fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/identifiers_controller.rb
Expand Up @@ -13,7 +13,7 @@ def index
}
format.json {
@identifiers = Queries::Identifier::Filter.new(params).all
.where(project_id: sessions_current_project_id).page(params[:page] || 1).per(500)
.where(project_id: sessions_current_project_id).page(params[:page]).per(params[:per] || 500)
}
end
end
Expand Down

0 comments on commit 9bf7fe2

Please sign in to comment.