don't try to apply filters when there's not any set
parent
a29fb04e7c
commit
e13202c114
|
@ -578,7 +578,7 @@ class Status < ApplicationRecord
|
|||
query = query.in_chosen_languages(account) if account.chosen_languages.present?
|
||||
query = query.reply_not_excluded_by_account(account) unless tag_timeline
|
||||
query = query.mention_not_excluded_by_account(account)
|
||||
unless account.custom_filters.nil?
|
||||
unless account.custom_filters.empty?
|
||||
if account.user.invert_filters
|
||||
query = query.search_filtered_by_account(account.id)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue