mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 23:17:37 +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"])
|
@app.route("/users/", methods=["GET"])
|
||||||
@login_required
|
@login_required
|
||||||
def user_list_page():
|
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)
|
return render_template("users/list.html", users=users)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user