summaryrefslogtreecommitdiff
path: root/packages/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-12-21 21:34:40 -0600
committerDan McGee <dan@archlinux.org>2011-02-22 16:00:51 -0600
commit4b12255d1cf52fcc1a98c230d940d0c1d3809ad2 (patch)
treeb2a0f99a378f0b700538546cc69b431a0861cdc2 /packages/views.py
parenteeff0749d86ec403e55dc626034991638edad619 (diff)
Use new split package file fields everywhere
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views.py')
-rw-r--r--packages/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views.py b/packages/views.py
index 9c34db0c..e792175b 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -234,7 +234,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)
- fileslist = PackageFile.objects.filter(pkg=pkg).order_by('path')
+ fileslist = PackageFile.objects.filter(pkg=pkg).order_by('directory', 'filename')
template = 'packages/files.html'
if request.is_ajax():
template = 'packages/files-list.html'