summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-31 07:25:19 +0200
committerDan McGee <dan@archlinux.org>2012-07-31 07:26:02 +0200
commit4ad43fd8165834b26914ff8ba0666ce96267205b (patch)
treeb1a626d27ac005a8ceea54b4bb933fde8e46b56f /packages
parentc03b9c5f10b1695c4a099a578f19e09b33c6df10 (diff)
downloadarchweb-4ad43fd8165834b26914ff8ba0666ce96267205b.tar.gz
archweb-4ad43fd8165834b26914ff8ba0666ce96267205b.tar.xz
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 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(),