app/controllers/spotlight/searches_controller.rb in blacklight-spotlight-3.2.0 vs app/controllers/spotlight/searches_controller.rb in blacklight-spotlight-3.3.0
- old
+ new
@@ -115,12 +115,17 @@
thumbnail_attributes: featured_image_params
)
end
def query_params
- params.to_unsafe_h.with_indifferent_access.except(:exhibit_id, :search, *blacklisted_search_session_params).reject { |_k, v| v.blank? }
+ params.to_unsafe_h.with_indifferent_access.except(:exhibit_id, :search, *excluded_search_session_params).reject { |_k, v| v.blank? }
end
+ def excluded_search_session_params
+ blacklisted_search_session_params
+ end
+
+ # @deprecated
def blacklisted_search_session_params
%i[id commit counter total search_id page per_page authenticity_token utf8 action controller]
end
def fallback_url