From 872a48082ae4b58465d074557b3ea78078a6b496 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Tue, 18 Sep 2018 15:03:19 +0200 Subject: [PATCH] Remove Samples from search controller [SCI-2739] --- app/controllers/search_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 0a2c90aea..0a5f52d69 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -173,7 +173,6 @@ class SearchController < ApplicationController @protocol_search_count = fetch_cached_count Protocol @step_search_count = fetch_cached_count Step @checklist_search_count = fetch_cached_count Checklist - @sample_search_count = fetch_cached_count Sample @repository_search_count_total = count_by_repository @asset_search_count = fetch_cached_count Asset @table_search_count = fetch_cached_count Table @@ -188,7 +187,6 @@ class SearchController < ApplicationController @search_results_count += @protocol_search_count @search_results_count += @step_search_count @search_results_count += @checklist_search_count - @search_results_count += @sample_search_count @search_results_count += @repository_search_count_total @search_results_count += @asset_search_count @search_results_count += @table_search_count