forked from MarseyWorld/MarseyWorld
make wpd report queue usable
parent
aa67af527d
commit
95ec09a6b3
|
@ -342,7 +342,7 @@ def reported_posts(v):
|
|||
is_approved=None,
|
||||
is_banned=False,
|
||||
deleted_utc=0
|
||||
).join(Post.reports)
|
||||
).join(Post.reports).join(User, User.id == Report.user_id).filter(User.shadowbanned == None, User.is_muted == False)
|
||||
|
||||
total = listing.count()
|
||||
|
||||
|
@ -365,7 +365,7 @@ def reported_comments(v):
|
|||
is_approved=None,
|
||||
is_banned=False,
|
||||
deleted_utc=0
|
||||
).join(Comment.reports)
|
||||
).join(Comment.reports).join(User, User.id == Report.user_id).filter(User.shadowbanned == None, User.is_muted == False)
|
||||
|
||||
total = listing.count()
|
||||
|
||||
|
|
Loading…
Reference in New Issue