Sort bugs in HTML output.
authorW. Trevor King <wking@drexel.edu>
Fri, 7 Aug 2009 17:53:26 +0000 (13:53 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 7 Aug 2009 17:53:26 +0000 (13:53 -0400)
becommands/html.py

index 8bc570d5fe88ff06169071b674c847d2c50a86c7..4bf43f439844205c37ea7c56aee09b7d8e73bea0 100644 (file)
@@ -62,7 +62,7 @@ def execute(args, test=False):
     bugs_inactive = []
     for s in status_list:
         st[s] = 0
-    for b in bd:
+    for b in sorted(bd, reverse=True):
         stime[b.uuid]  = b.time
         if b.status in ["open", "test", "unconfirmed", "assigned"]:
             bugs_active.append(b)