diff options
author | Dan McGee <dan@archlinux.org> | 2012-07-31 07:25:19 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-07-31 07:26:02 +0200 |
commit | 4ad43fd8165834b26914ff8ba0666ce96267205b (patch) | |
tree | b1a626d27ac005a8ceea54b4bb933fde8e46b56f /packages | |
parent | c03b9c5f10b1695c4a099a578f19e09b33c6df10 (diff) | |
download | archweb-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.py | 2 |
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(), |