From: Tom Powell Date: Tue, 28 May 2019 05:06:12 +0000 (-0700) Subject: Fix ordering on runners page X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db6f4a32c0b05d24cfe3c93e0cc0299131f8bd4c;p=GitLab%2Fstricted-build%2Flineage_builder.git Fix ordering on runners page --- diff --git a/ui/app.py b/ui/app.py index ba5ef19..7ef5889 100644 --- a/ui/app.py +++ b/ui/app.py @@ -151,7 +151,7 @@ def web_runners(): models.Runner.runner_sponsor, models.Runner.runner_sponsor_url, subquery.c.build_date - ).group_by(models.Runner.runner_id).all() + ).group_by(models.Runner.runner_id).order_by(subquery.c.build_date.desc(), models.Runner.runner_name).all() return render_template('runners.html', runners=runners) @app.route('/api/v1/builds')