forked from rDrama/rDrama
1
0
Fork 0
master
fireworks88 2021-09-12 22:21:17 +02:00
parent e604579d74
commit 64a06def95
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,7 @@ def comment_idlist(page=1, v=None, nsfw=False, sort="new", t="all", **kwargs):
posts = posts.subquery()
comments = g.db.query(Comment).options(lazyload('*'))
comments = comments.join(Comment.post).filter(Submission.club == False)
if v and v.admin_level <= 3:
blocking = g.db.query(