mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 03:11:32 +00:00
Update crates/db_views/src/report_combined_view.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
This commit is contained in:
parent
67d72e36ac
commit
165c7f4762
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue