forked from rDrama/rDrama
1
0
Fork 0

order last_active desc

master
Aevann 2024-02-03 01:26:26 +02:00
parent 63958814bf
commit 4dc4834418
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ def shadowbanned(v):
key = User.shadowbanned
else:
sort = "last_active"
key = User.last_active
key = User.last_active.desc()
users = users.order_by(key).offset(PAGE_SIZE * (page - 1)).limit(PAGE_SIZE)