summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-16 19:41:40 +0200
committerDan McGee <dan@archlinux.org>2011-06-16 19:41:40 +0200
commit00eb8f426a8ddb905fcf8b241eb29b687b9db8ed (patch)
treefbfadd7aef1a02a0880c48a76fddf76e67eea735 /packages
parentcda9c5bb34b450b391500636c8d3f5ff4bfe51ab (diff)
downloadarchweb-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.py3
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,