fd
This commit is contained in:
parent
9986cb3ae2
commit
bfce41f0c5
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ def get_posts(pids, sort="hot", v=None):
|
|||
isouter=True
|
||||
).order_by(Submission.id).all()
|
||||
|
||||
output = [p[0] for p in posts]
|
||||
output = [p[0] for p in query]
|
||||
for i in range(len(output)):
|
||||
output[i]._voted = posts[i][1] or 0
|
||||
output[i]._is_blocking = posts[i][4] or 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue