diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-29 19:23:03 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-29 19:23:06 +0200 |
commit | ad65f4c98e6ea3e8078b4a482fa88fb4595ccedd (patch) | |
tree | 9a168dac1e2e77368f91ff213866990ca93f1f84 /packages | |
parent | ae12aa58fd6c6965b3eadcf3843ea68602069c60 (diff) | |
download | archweb-ad65f4c98e6ea3e8078b4a482fa88fb4595ccedd.tar.gz archweb-ad65f4c98e6ea3e8078b4a482fa88fb4595ccedd.tar.xz |
Fix package sort fields
Don't list pkgname twice, include pkgbase instead.
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 1f2a38d..8c9c1b1 100644 --- a/packages/views.py +++ b/packages/views.py @@ -279,7 +279,7 @@ def search(request, page=None): 'search_form': form, 'current_query': current_query } - allowed_sort = ["arch", "repo", "pkgname", "pkgname", + allowed_sort = ["arch", "repo", "pkgname", "pkgbase", "compressed_size", "installed_size", "build_date", "last_update", "flag_date"] allowed_sort += ["-" + s for s in allowed_sort] |