From b2d8a42ba30690030d3d8f5497267ff2c5dc7a2b Mon Sep 17 00:00:00 2001 From: JackBlacklight Date: Mon, 16 Sep 2024 14:01:21 -0400 Subject: [PATCH] add ac params to blacklight allowed params list --- app/controllers/catalog_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index a5fd56f8..1f624a9e 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -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