Update crates/db_views/src/report_combined_view.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>
This commit is contained in:
Dessalines 2024-12-08 08:42:05 -05:00 committed by GitHub
parent 165c7f4762
commit dc0ec159df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,8 +187,7 @@ impl ReportCombinedQuery {
.or(comment::post_id.eq(post::id)), .or(comment::post_id.eq(post::id)),
), ),
) )
// The item creator // The item creator (`item_creator` is the id of this person)
// You can now use aliases::person1.field(person::id) / item_creator for all the item actions
.inner_join( .inner_join(
aliases::person1.on( aliases::person1.on(
post::creator_id post::creator_id