account search workaround

This commit is contained in:
noellabo 2023-02-28 01:45:13 +09:00
parent c4336626de
commit 45986dc4dc
1 changed files with 1 additions and 1 deletions

View File

@ -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