aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-18 10:41:40 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-18 10:41:40 +0000
commit16bc5746e510e07a4533fac4cfbc4e5b744ef63d (patch)
tree5daa4ebed074ba75c0e51099256dd37bbcb22a28 /web
parentBetter default for local_latest as well. (diff)
downloadpackages-16bc5746e510e07a4533fac4cfbc4e5b744ef63d.tar.gz
packages-16bc5746e510e07a4533fac4cfbc4e5b744ef63d.tar.bz2
packages-16bc5746e510e07a4533fac4cfbc4e5b744ef63d.zip
Fix bug #199436, incorrect updated timestamps on feed entries.
Diffstat (limited to 'web')
-rw-r--r--web/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/model.py b/web/model.py
index 8ae5f82..3a2baf1 100644
--- a/web/model.py
+++ b/web/model.py
@@ -448,7 +448,7 @@ class PackageDB(object):
JOIN packages USING (cp)
JOIN categories USING (c)
WHERE category = ? AND pn = ?
- ORDER BY versions.pv
+ ORDER BY mtime DESC
"""
def _get_package_details(self, cat, pn):
"""get package details (uncached)"""