mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Fix user list sort order
This commit is contained in:
parent
8d1f4e47fc
commit
6e2f2e3d04
@ -39,7 +39,7 @@ class UserProfileForm(FlaskForm):
|
||||
@app.route("/users/", methods=["GET"])
|
||||
@login_required
|
||||
def user_list_page():
|
||||
users = User.query.order_by(db.asc(User.rank), db.desc(User.display_name)).all()
|
||||
users = User.query.order_by(db.desc(User.rank), db.asc(User.display_name)).all()
|
||||
return render_template("users/list.html", users=users)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user