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

[snapshot/master] Sort binarypackage versions DESC, too (similar to sourcepackage versions)



Signed-off-by: Peter Palfrader <peter@palfrader.org>
---
 web/app/snapshot/model/snapshotmodel.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/app/snapshot/model/snapshotmodel.py b/web/app/snapshot/model/snapshotmodel.py
index 07bf332..20823b4 100644
--- a/web/app/snapshot/model/snapshotmodel.py
+++ b/web/app/snapshot/model/snapshotmodel.py
@@ -279,7 +279,7 @@ class SnapshotModel:
                                JOIN srcpkg
                                ON binpkg.srcpkg_id=srcpkg.srcpkg_id
                            WHERE binpkg.name=%(binary)s
-                           ORDER BY binpkg.version""",
+                           ORDER BY binpkg.version DESC""",
                 { 'binary': binary} )
         return rows
 
-- 
1.5.6.5


Reply to: