forked from MarseyWorld/MarseyWorld
master
parent
7ec5bae525
commit
bf8220dcc1
|
@ -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)):
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue