fdfd
This commit is contained in:
parent
c300ccff52
commit
16be847986
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ def get_comments(cids, v=None, sort="new",
|
||||||
output = g.db.query(Comment).options().filter(Comment.id.in_(cids)).order_by(Comment.id.desc()).all()
|
output = g.db.query(Comment).options().filter(Comment.id.in_(cids)).order_by(Comment.id.desc()).all()
|
||||||
|
|
||||||
|
|
||||||
output = sorted(output, key=lambda x: cids.index(x.id))
|
return sorted(output, key=lambda x: cids.index(x.id))
|
||||||
|
|
||||||
|
|
||||||
def get_board(bid, graceful=False):
|
def get_board(bid, graceful=False):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue