diff options
author | Dan McGee <dan@archlinux.org> | 2010-12-21 21:34:40 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-22 16:00:51 -0600 |
commit | 4b12255d1cf52fcc1a98c230d940d0c1d3809ad2 (patch) | |
tree | b2a0f99a378f0b700538546cc69b431a0861cdc2 /packages/views.py | |
parent | eeff0749d86ec403e55dc626034991638edad619 (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.py | 2 |
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' |