mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-13 06:08:20 +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
dc0ec159df
commit
22d869730d
|
@ -306,9 +306,9 @@ impl ReportCombinedQuery {
|
||||||
query = query
|
query = query
|
||||||
.filter(
|
.filter(
|
||||||
post_report::resolved
|
post_report::resolved
|
||||||
.eq(false)
|
|
||||||
.or(comment_report::resolved.eq(false))
|
.or(comment_report::resolved)
|
||||||
.or(private_message_report::resolved.eq(false)),
|
.or(private_message_report::resolved).is_distinct_from(true),
|
||||||
)
|
)
|
||||||
// TODO: when a `then_asc` method is added, use it here, make the id sort direction match,
|
// TODO: when a `then_asc` method is added, use it here, make the id sort direction match,
|
||||||
// and remove the separate index; unless additional columns are added to this sort
|
// and remove the separate index; unless additional columns are added to this sort
|
||||||
|
|
Loading…
Reference in a new issue