summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views.py b/packages/views.py
index cb6bb816..2a77be53 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -106,7 +106,7 @@ def search(request, query=''):
# sort results
if sort == '':
- results = results.order_by('repo', 'arch', 'pkgname')
+ results = results.order_by('repo', 'arch', '-last_update', 'pkgname')
else:
# duplicate sort fields shouldn't hurt anything
results = results.order_by(sort, 'repo', 'arch', 'pkgname')