diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-12 05:23:47 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-27 20:36:58 +0100 |
commit | 1cea5fc32e5fe213137cac0323d27bcc9cbc7d8b (patch) | |
tree | 7efae7efaa561968390ecf7642b4a14793aad1a8 | |
parent | e119c75838a0c91fd63c9b2aa2bb3940cd6eaee5 (diff) | |
download | archweb-1cea5fc32e5fe213137cac0323d27bcc9cbc7d8b.tar.gz archweb-1cea5fc32e5fe213137cac0323d27bcc9cbc7d8b.tar.xz |
Order the package files when viewing
Signed-off-by: Dan McGee <dan@archlinux.org>
-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 acd71b2..9956b6c 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') |