summaryrefslogtreecommitdiff
path: root/packages/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-16 12:41:40 -0500
committerDan McGee <dan@archlinux.org>2011-06-16 12:41:40 -0500
commit00eb8f426a8ddb905fcf8b241eb29b687b9db8ed (patch)
treefbfadd7aef1a02a0880c48a76fddf76e67eea735 /packages/views.py
parentcda9c5bb34b450b391500636c8d3f5ff4bfe51ab (diff)
Remove automatic search redirection on count = 1
This is really annoying. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views.py')
-rw-r--r--packages/views.py3
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,