diff --git a/crates/db_views/src/report_combined_view.rs b/crates/db_views/src/report_combined_view.rs index 5944568e0..a61663b71 100644 --- a/crates/db_views/src/report_combined_view.rs +++ b/crates/db_views/src/report_combined_view.rs @@ -79,9 +79,9 @@ impl ReportCombinedViewInternal { Some(my_person_id), post::community_id, )) - .filter(post_report::resolved.eq(false)) - .or_filter(comment_report::resolved.eq(false)) - .or_filter(private_message_report::resolved.eq(false)) + .filter(post_report::resolved + .or(comment_report::resolved) + .or(private_message_report::resolved).is_distinct_from(true)) .into_boxed(); if let Some(community_id) = community_id {