From 0883529ce255a3628d29bcbc38cf30959c521906 Mon Sep 17 00:00:00 2001 From: Tom Powell Date: Thu, 1 Nov 2018 00:10:30 -0700 Subject: [PATCH] order runners by (sponsor_name, name) --- ui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app.py b/ui/app.py index ed67d7c..60084fd 100644 --- a/ui/app.py +++ b/ui/app.py @@ -66,7 +66,7 @@ def runner(runner): @app.route("/runners/") def runners(): - runners = models.Runner.query.order_by(models.Runner.runner_sponsor).all() + runners = models.Runner.query.order_by(models.Runner.runner_sponsor, models.Runner.runner_name).all() return render_template('runners.html', runners=runners) @app.route("/webhook", methods=('POST',)) -- 2.20.1