From 5e3ea971b34561079d0e2a80c3d392b7b6187179 Mon Sep 17 00:00:00 2001 From: tamsin johnson Date: Tue, 14 Sep 2021 12:42:04 -0700 Subject: [PATCH] remove deprecated call to method --- app/controllers/hyrax/my_controller.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/controllers/hyrax/my_controller.rb b/app/controllers/hyrax/my_controller.rb index 4db1f87d27..1ce8d5f53d 100644 --- a/app/controllers/hyrax/my_controller.rb +++ b/app/controllers/hyrax/my_controller.rb @@ -36,9 +36,7 @@ def self.configure_facets def index @user = current_user - Deprecation.silence(Hyrax::MyController) do - (@response, @document_list) = query_solr - end + (@response, @document_list) = search_service.search_results prepare_instance_variables_for_batch_control_display respond_to do |format|