[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#742855: Sort releases correctly in tabular view. (Closes: #742855)



Hi,

commit baa7d44e460efe2b24e7b029633701cd29986d0d
Author: Holger Levsen <holger@layer-acht.org>
Date:   Sat Sep 13 01:23:35 2014 +0200

    Sort releases correctly in tabular view. (Closes: #742855)

diff --git a/lib/python/security_db.py b/lib/python/security_db.py
index 9a25ad6..8580d5b 100644
--- a/lib/python/security_db.py
+++ b/lib/python/security_db.py
@@ -1682,7 +1682,7 @@ class DB:
             AND (bugs.name LIKE 'CVE-%' OR bugs.name LIKE 'TEMP-%')
             GROUP BY bugs.name, bugs.description, sp.name)
             WHERE vulnerable = ? AND unimportant = ?
-            ORDER BY name""", (pkg, vulnerable, unimportant))
+            ORDER BY name DESC""", (pkg, vulnerable, unimportant))
 
     def getDSAsForSourcePackage(self, cursor, package):
         return cursor.execute(


cheers,
	Holger

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: