diff --git a/app/finders/conversation_finder.rb b/app/finders/conversation_finder.rb index a59979780..1d5cad0b5 100644 --- a/app/finders/conversation_finder.rb +++ b/app/finders/conversation_finder.rb @@ -171,7 +171,7 @@ class ConversationFinder def set_count_for_all_conversations # Check if filtering by status only (no other filters applied) - filtering_by_status_only = FILTER_PARAMS.none? { |key| params[key].present? } + filtering_by_status_only = FILTER_PARAMS.none? { |key| params[key] } # Use cache only for admins (non-admins have inbox permission filters applied) use_cache = current_account.feature_enabled?(:counter_cache_optimization) &&