mirror of
https://github.com/mastodon/mastodon.git
synced 2024-05-19 10:28:08 +00:00
Only call all/none from TagFeed when present
This commit is contained in:
parent
65da3f259e
commit
aec105433c
|
@ -26,8 +26,8 @@ class TagFeed < PublicFeed
|
|||
scope = public_scope
|
||||
|
||||
scope.merge!(tagged_with_any_scope)
|
||||
scope.merge!(tagged_with_all_scope)
|
||||
scope.merge!(tagged_with_none_scope)
|
||||
scope.merge!(tagged_with_all_scope) if options[:all].present?
|
||||
scope.merge!(tagged_with_none_scope) if options[:none].present?
|
||||
scope.merge!(local_only_scope) if local_only?
|
||||
scope.merge!(remote_only_scope) if remote_only?
|
||||
scope.merge!(account_filters_scope) if account?
|
||||
|
|
Loading…
Reference in a new issue