diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-11-09 14:30:24 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-11-09 14:30:24 +0200 |
commit | 37bbb1fc01ee14298637ea02208ef1ec35eb1a97 (patch) | |
tree | ac0d035ff2d85b22075fb7e8f5580f836908db8f /servo/forms | |
parent | e6d0c22dcf380d87c9ef93f4a1837e1edc3d7e2b (diff) | |
download | Servo-37bbb1fc01ee14298637ea02208ef1ec35eb1a97.tar.gz Servo-37bbb1fc01ee14298637ea02208ef1ec35eb1a97.tar.bz2 Servo-37bbb1fc01ee14298637ea02208ef1ec35eb1a97.zip |
Added status_older_than search
Diffstat (limited to 'servo/forms')
-rw-r--r-- | servo/forms/orders.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/servo/forms/orders.py b/servo/forms/orders.py index ae97e87..eb5d554 100644 --- a/servo/forms/orders.py +++ b/servo/forms/orders.py @@ -141,6 +141,10 @@ class OrderSearchForm(forms.Form): label=mark_safe(' '), widget=DatepickerInput(attrs={'class': "input-small"}) ) + status_older_than = forms.IntegerField( + required=False, + label=_('Status older than (days)'), + ) def __init__(self, request, *args, **kwargs): super(OrderSearchForm, self).__init__(*args, **kwargs) |