fd4
This commit is contained in:
parent
36058f73e2
commit
ae6e22b2b5
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
|
|||
|
||||
if not (v and v.shadowbanned):
|
||||
posts=posts.join(Submission.author)
|
||||
posts=posts.filter(Submission.author.shadowbanned == False)
|
||||
posts=posts.filter(User.shadowbanned == False)
|
||||
|
||||
if sort == "hot":
|
||||
posts = sorted(posts.all(), key=lambda x: x.hotscore, reverse=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue