Author: holger
Date: 2014-10-06 13:50:29 +0000 (Mon, 06 Oct 2014)
New Revision: 29291

Modified:
   lib/python/security_db.py
Log:
fix sorting in CVE overview if a CVE fixes more than one package. (Closes: 
#764091)

Modified: lib/python/security_db.py
===================================================================
--- lib/python/security_db.py   2014-10-06 11:34:19 UTC (rev 29290)
+++ lib/python/security_db.py   2014-10-06 13:50:29 UTC (rev 29291)
@@ -1672,7 +1672,7 @@
             WHERE s.bug_name = ? AND p.rowid = s.package
             AND release in ('squeeze', 'wheezy', 'jessie', 'sid'))
             GROUP BY package, version, vulnerable
-            ORDER BY releasepart_to_number(release), 
subreleasepart_to_number(release), package, version COLLATE version""",
+            ORDER BY package, releasepart_to_number(release), 
subreleasepart_to_number(release), version COLLATE version""",
             (bug,)):
             yield package, releases.split(', '), version, vulnerable
 


_______________________________________________
Secure-testing-commits mailing list
Secure-testing-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits

Reply via email to