Only call all/none from TagFeed when present

This commit is contained in:
Matt Jankowski 2024-03-27 12:26:17 -04:00
parent 20d1e346ee
commit 32c23da502
1 changed files with 2 additions and 2 deletions

View File

@ -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?