mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Fix user list order
This commit is contained in:
parent
715d499f8a
commit
7b4b9a0562
@ -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.asc(User.display_name)).all()
|
||||
users = User.query.order_by(db.asc(User.rank), db.desc(User.display_name)).all()
|
||||
return render_template("users/list.html", users=users)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user