Fix searchability is not work in search api
This commit is contained in:
parent
6f3ea2d767
commit
d4602118fb
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ class SearchService < BaseService
|
|||
@offset = options[:type].blank? ? 0 : options[:offset].to_i
|
||||
@resolve = options[:resolve] || false
|
||||
@following = options[:following] || false
|
||||
@searchability = options[:searchability] || 'public'
|
||||
|
||||
default_results.tap do |results|
|
||||
next if @query.blank? || @limit.zero?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue