same as last commit

pull/142/head
Aevann 2023-04-15 04:42:39 +02:00
parent 5e56bfdc03
commit 25b0a694d3
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ def patrons(v):
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
@auth_required
def admins(v:User):
admins = g.db.query(User).filter(User.admin_level >= PERMS['ADMIN_MOP_VISIBLE']).order_by(User.admin_level.desc()).all()
admins = g.db.query(User).filter(User.admin_level >= PERMS['ADMIN_MOP_VISIBLE']).order_by(User.admin_level.desc(), User.truescore.desc()).all()
return render_template("admins.html", v=v, admins=admins)
@app.get("/log")