web: sort users by last_login

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-20 18:39:12 +01:00
parent 5c85c3315d
commit fb20ae7e1a
2 changed files with 2 additions and 1 deletions

View file

@ -438,6 +438,7 @@ _LOGGING_HANDLER_MAP = {
"kubernetes": "INFO",
"asyncio": "WARNING",
"aioredis": "WARNING",
"drf_yasg2.utils": "WARNING",
}
for handler_name, level in _LOGGING_HANDLER_MAP.items():
# pyright: reportGeneralTypeIssues=false

View file

@ -30,7 +30,7 @@ export class UserListPage extends TablePage<User> {
}
@property()
order = "username";
order = "last_login";
apiEndpoint(page: number): Promise<AKResponse<User>> {
return new CoreApi(DEFAULT_CONFIG).coreUsersList({