diff options
Diffstat (limited to 'app/elastic/users_search.rb')
-rw-r--r-- | app/elastic/users_search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/elastic/users_search.rb b/app/elastic/users_search.rb index 9e86f77a7ad..60b5ddaa4b2 100644 --- a/app/elastic/users_search.rb +++ b/app/elastic/users_search.rb @@ -31,7 +31,7 @@ module UsersSearch }) end - def self.search(query, page: 1, per: 20, options: {}) + def self.elastic_search(query, page: 1, per: 20, options: {}) page ||= 1 per ||= 20 |