Skip to content

Commit

Permalink
add ac params to blacklight allowed params list (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBlackLight authored Sep 16, 2024
1 parent 8a4815d commit 15a6e53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def transform_values
end

configure_blacklight do |config|
allowed_params = [:deposits_enabled]
allowed_params = [:id, :commit, :usage_statistics_reports_form, :verb,
:metadataPrefix, :_method, :deposit, :category_id, :agreement, :deposits_enabled]
config.search_state_fields.concat(allowed_params)

# Delete default blacklight components we aren't using
Expand Down

0 comments on commit 15a6e53

Please sign in to comment.