fd
This commit is contained in:
parent
d118c92a06
commit
b51c252e59
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ def get_posts(pids, sort="hot", v=None):
|
|||
).order_by(None).all()
|
||||
|
||||
|
||||
return sorted(query, key=lambda x: pids.index(x.id))
|
||||
return sorted(query, key=lambda x: x.id)
|
||||
|
||||
|
||||
def get_post_with_comments(pid, sort="top", v=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue