Disable full text search timeline
This commit is contained in:
parent
ab8d77adb0
commit
66de2ee2c1
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class SearchService < BaseService
|
|||
privacy_definition = privacy_definition.or(StatusesIndex.filter(term: { searchability: 'direct' }).filter(term: { account_id: @account.id }).track_scores(true).min_score(@min_score))
|
||||
end
|
||||
|
||||
definition = parsed_query.apply(StatusesIndex.min_score(@min_score).track_scores(true)).order(id: :desc)
|
||||
definition = parsed_query.apply(StatusesIndex.min_score(@min_score).track_scores(true))
|
||||
definition = definition.filter(term: { account_id: @options[:account_id] }) if @options[:account_id].present?
|
||||
|
||||
definition = definition.and(privacy_definition)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue