account search workaround
This commit is contained in:
parent
c4336626de
commit
45986dc4dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue