diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-16 12:41:40 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-16 12:41:40 -0500 |
commit | 00eb8f426a8ddb905fcf8b241eb29b687b9db8ed (patch) | |
tree | fbfadd7aef1a02a0880c48a76fddf76e67eea735 | |
parent | cda9c5bb34b450b391500636c8d3f5ff4bfe51ab (diff) |
Remove automatic search redirection on count = 1
This is really annoying.
Signed-off-by: Dan McGee <dan@archlinux.org>
-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 5f559d6a..486fb945 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, |