[llvm-commits] [LNT] r156437 - /lnt/trunk/lnt/server/ui/views.py
Daniel Dunbar
daniel at zuster.org
Tue May 8 16:07:26 PDT 2012
Author: ddunbar
Date: Tue May 8 18:07:26 2012
New Revision: 156437
URL: http://llvm.org/viewvc/llvm-project?rev=156437&view=rev
Log:
UI/v4_machine: Sort runs with the same order by start time.
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=156437&r1=156436&r2=156437&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Tue May 8 18:07:26 2012
@@ -678,7 +678,8 @@
(run_order, r)
for r,run_order in ts.query(ts.Run, ts.Order).\
join(ts.Order).\
- filter(ts.Run.machine_id == id))
+ filter(ts.Run.machine_id == id).\
+ order_by(ts.Run.start_time.desc()))
associated_runs = associated_runs.items()
associated_runs.sort()
More information about the llvm-commits
mailing list