Add emoji reactions to trends
This commit is contained in:
parent
bc48000dce
commit
e6fcf1543b
8 changed files with 33 additions and 14 deletions
|
@ -53,7 +53,7 @@ class SearchService < BaseService
|
|||
privacy_definition = privacy_definition.or(StatusesIndex.filter(term: { searchability: 'direct' }).filter(term: { account_id: @account.id }).min_score(MIN_SCORE))
|
||||
end
|
||||
|
||||
definition = parsed_query.apply(StatusesIndex.min_score(MIN_SCORE)).order(id: :desc)
|
||||
definition = parsed_query.apply(StatusesIndex.min_score(MIN_SCORE).track_scores(true)).order(id: :desc)
|
||||
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