diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-16 19:41:40 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-16 19:41:40 +0200 |
commit | 00eb8f426a8ddb905fcf8b241eb29b687b9db8ed (patch) | |
tree | fbfadd7aef1a02a0880c48a76fddf76e67eea735 /packages | |
parent | cda9c5bb34b450b391500636c8d3f5ff4bfe51ab (diff) | |
download | archweb-00eb8f426a8ddb905fcf8b241eb29b687b9db8ed.tar.gz archweb-00eb8f426a8ddb905fcf8b241eb29b687b9db8ed.tar.xz |
Remove automatic search redirection on count = 1
This is really annoying.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/views.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/views.py b/packages/views.py index 5f559d6..486fb94 100644 --- a/packages/views.py +++ b/packages/views.py @@ -262,9 +262,6 @@ def search(request, page=None): else: form = PackageSearchForm() - if packages.count() == 1: - return redirect(packages[0]) - current_query = request.GET.urlencode() page_dict = { 'search_form': form, |