master
Aevann1 2021-07-24 23:54:56 +02:00
parent 7ec5bae525
commit bf8220dcc1
2 changed files with 3 additions and 3 deletions

View File

@ -165,8 +165,8 @@ def get_posts(pids, sort="hot", v=None):
).join(
blocked,
blocked.c.user_id == Submission.author_id,
isouter=True
).order_by(Submission.id.desc()).all()
isouter=True)
# ).order_by(Submission.id.desc()).all()
output = [p[0] for p in query]
for i in range(len(output)):

View File

@ -146,7 +146,7 @@ def frontlist(v=None, sort="hot", page=1,t="all", ids_only=True, filter_words=''
if page == 1: posts = g.db.query(Submission).filter_by(stickied=True).all() + posts
words = [' captainmeta4 ', ' cm4 ', ' dissident001 ', ' ladine ']
words = ['captainmeta4', ' cm4 ', 'dissident001', 'ladine']
for post in posts:
if post.author and post.author.admin_level == 0: