[LNT] r333260 - Sort machines in Compare to by names.
Martin Liska via llvm-commits
llvm-commits at lists.llvm.org
Fri May 25 00:56:44 PDT 2018
Author: marxin
Date: Fri May 25 00:56:44 2018
New Revision: 333260
URL: http://llvm.org/viewvc/llvm-project?rev=333260&view=rev
Log:
Sort machines in Compare to by names.
Differential Revision: https://reviews.llvm.org/D47186
Modified:
lnt/trunk/lnt/server/ui/views.py
Modified: lnt/trunk/lnt/server/ui/views.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/views.py?rev=333260&r1=333259&r2=333260&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Fri May 25 00:56:44 2018
@@ -324,7 +324,7 @@ def v4_machine(id):
run.end_time.isoformat()))
return flask.jsonify(**json_obj)
- machines = session.query(ts.Machine).all()
+ machines = session.query(ts.Machine).order_by(ts.Machine.name).all()
relatives = [m for m in machines if m.name == machine.name]
return render_template("v4_machine.html",
testsuite_name=g.testsuite_name,
More information about the llvm-commits
mailing list