app/controllers/spotlight/searches_controller.rb in blacklight-spotlight-0.17.1 vs app/controllers/spotlight/searches_controller.rb in blacklight-spotlight-0.18.0
- old
+ new
@@ -29,10 +29,10 @@
end
end
def autocomplete
search_params = autocomplete_params.merge(search_field: Spotlight::Engine.config.autocomplete_search_field)
- (_, document_list) = search_results(search_params, search_params_logic)
+ (_, document_list) = search_results(search_params)
respond_to do |format|
format.json do
render json: { docs: autocomplete_json_response(document_list) }
end