[PATCH] D48003: [LNT] Sort machines in machines view.

Martin Liška via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 12 00:58:52 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL334482: Sort machines in machines view. (authored by marxin, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D48003?vs=150689&id=150894#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48003

Files:
  lnt/trunk/lnt/server/ui/views.py


Index: lnt/trunk/lnt/server/ui/views.py
===================================================================
--- lnt/trunk/lnt/server/ui/views.py
+++ lnt/trunk/lnt/server/ui/views.py
@@ -249,7 +249,7 @@
     # Gather all the runs on this machine.
     session = request.session
     ts = request.get_testsuite()
-    machines = session.query(ts.Machine)
+    machines = session.query(ts.Machine).order_by(ts.Machine.name)
 
     return render_template("all_machines.html", machines=machines,
                            **ts_data(ts))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48003.150894.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180612/22b2affd/attachment.bin>


More information about the llvm-commits mailing list