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 acd71b2d..9956b6ce 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -181,7 +181,7 @@ def search(request, page=None):
def files(request, name='', repo='', arch=''):
pkg = get_object_or_404(Package,
pkgname=name, repo__name__iexact=repo, arch__name=arch)
- files = PackageFile.objects.filter(pkg=pkg)
+ files = PackageFile.objects.filter(pkg=pkg).order_by('path')
return render_to_response('packages/files.html', RequestContext(request, {'pkg':pkg,'files':files}))
@permission_required('main.change_package')