diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-11 22:23:47 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-27 13:36:58 -0600 |
commit | 1cea5fc32e5fe213137cac0323d27bcc9cbc7d8b (patch) | |
tree | 7efae7efaa561968390ecf7642b4a14793aad1a8 /packages | |
parent | e119c75838a0c91fd63c9b2aa2bb3940cd6eaee5 (diff) |
Order the package files when viewing
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-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 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') |