fix /!commenters ordering

pull/200/head
Aevann 2023-09-05 21:31:55 +03:00
parent f5b8147567
commit 69bf4ccf80
1 changed files with 1 additions and 1 deletions

View File

@ -739,7 +739,7 @@ def commenters(v, pid, time):
Comment.parent_post == pid,
Comment.created_utc < time-1,
User.id.notin_(BOT_IDs),
).all()
).order_by(User.id, Comment.created_utc).all()
users = sorted(users, key=lambda x: x[1])