From 45986dc4dca351aa743daf915836576321ccfddd Mon Sep 17 00:00:00 2001 From: noellabo Date: Tue, 28 Feb 2023 01:45:13 +0900 Subject: [PATCH] account search workaround --- app/services/search_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/search_service.rb b/app/services/search_service.rb index 5e8639259..8bf1842a3 100644 --- a/app/services/search_service.rb +++ b/app/services/search_service.rb @@ -26,7 +26,7 @@ class SearchService < BaseService accounts_count = results[:accounts].count if accounts_count == 0 - @offset -= count_accounts_search! + # @offset -= count_accounts_search! results[:accounts] = perform_accounts_full_text_search! elsif accounts_count < @limit @limit -= accounts_count