summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-31 00:25:19 -0500
committerDan McGee <dan@archlinux.org>2012-07-31 00:26:02 -0500
commit4ad43fd8165834b26914ff8ba0666ce96267205b (patch)
treeb1a626d27ac005a8ceea54b4bb933fde8e46b56f /packages
parentc03b9c5f10b1695c4a099a578f19e09b33c6df10 (diff)
Fix broken hidden input sort field on search form
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/views/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views/search.py b/packages/views/search.py
index 9750894a..497d9bca 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(),