desc
parent
55d6ac43e5
commit
4a9efafbb0
|
@ -349,7 +349,7 @@ def banned(v):
|
||||||
key = User.is_banned
|
key = User.is_banned
|
||||||
else:
|
else:
|
||||||
sort = "unban_utc"
|
sort = "unban_utc"
|
||||||
key = User.unban_utc
|
key = User.unban_utc.desc()
|
||||||
|
|
||||||
users = users.order_by(key).offset(PAGE_SIZE * (page - 1)).limit(PAGE_SIZE)
|
users = users.order_by(key).offset(PAGE_SIZE * (page - 1)).limit(PAGE_SIZE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue