List old uploads early.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 21 Nov 2010 15:48:23 +0000 (16:48 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 21 Nov 2010 15:48:23 +0000 (16:48 +0100)
buildfarm/web/__init__.py

index 4646199361e8c7e7e67b90613dd6c85cab42e434..c3ef776a0773fb7fa19688d283395353120fa6ad 100755 (executable)
@@ -586,7 +586,7 @@ class ViewRecentBuildsPage(BuildFarmPage):
 
         cmp_funcs = {
             "revision": lambda a, b: cmp(a.revision, b.revision),
-            "age": lambda a, b: cmp(a.age, b.age),
+            "age": lambda a, b: cmp(a.upload_time, b.upload_time),
             "host": lambda a, b: cmp(a.host, b.host),
             "platform": lambda a, b: cmp(build_platform(a), build_platform(b)),
             "compiler": lambda a, b: cmp(a.compiler, b.compiler),