From 7b4b9a0562e19bc98146d9625741b347d9883f55 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 23 May 2018 20:38:27 +0100 Subject: [PATCH] Fix user list order --- app/views/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users.py b/app/views/users.py index 8dec1ba6..6503487f 100644 --- a/app/views/users.py +++ b/app/views/users.py @@ -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)