Skip to content

Commit

Permalink
add ac params to blacklight allowed params list
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBlackLight committed Sep 16, 2024
1 parent 8a4815d commit b2d8a42
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 b2d8a42

Please sign in to comment.