master
Aevann1 2021-07-25 04:57:21 +02:00
parent a24b4e7458
commit f012e5ca96
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ def get_comments(cids, v=None, load_parent=False, **kwargs):
Comment.id.in_(cids)
).all()
output=[x[0] for x in query]
output=[x for x in query]
output = sorted(output, key=lambda x: cids.index(x.id))