From 4ad43fd8165834b26914ff8ba0666ce96267205b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 31 Jul 2012 00:25:19 -0500 Subject: Fix broken hidden input sort field on search form Signed-off-by: Dan McGee --- packages/views/search.py | 2 +- templates/packages/search.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/views/search.py b/packages/views/search.py index 9750894..497d9bc 100644 --- a/packages/views/search.py +++ b/packages/views/search.py @@ -40,7 +40,7 @@ class PackageSearchForm(forms.Form): name = forms.CharField(required=False) desc = forms.CharField(required=False) q = forms.CharField(required=False) - sort = forms.CharField(required=False) + sort = forms.CharField(required=False, widget=forms.HiddenInput()) maintainer = forms.ChoiceField(required=False) packager = forms.ChoiceField(required=False) last_update = forms.DateField(required=False, widget=AdminDateWidget(), diff --git a/templates/packages/search.html b/templates/packages/search.html index 9d86ced..ab9b6d3 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -19,7 +19,7 @@

Package Search