mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-12 05:54:51 +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
|
@ -79,9 +79,9 @@ impl ReportCombinedViewInternal {
|
||||||
Some(my_person_id),
|
Some(my_person_id),
|
||||||
post::community_id,
|
post::community_id,
|
||||||
))
|
))
|
||||||
.filter(post_report::resolved.eq(false))
|
.filter(post_report::resolved
|
||||||
.or_filter(comment_report::resolved.eq(false))
|
.or(comment_report::resolved)
|
||||||
.or_filter(private_message_report::resolved.eq(false))
|
.or(private_message_report::resolved).is_distinct_from(true))
|
||||||
.into_boxed();
|
.into_boxed();
|
||||||
|
|
||||||
if let Some(community_id) = community_id {
|
if let Some(community_id) = community_id {
|
||||||
|
|
Loading…
Reference in a new issue