aboutsummaryrefslogtreecommitdiffstats
path: root/servo/forms
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-11-09 14:30:24 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-11-09 14:30:24 +0200
commit37bbb1fc01ee14298637ea02208ef1ec35eb1a97 (patch)
treeac0d035ff2d85b22075fb7e8f5580f836908db8f /servo/forms
parente6d0c22dcf380d87c9ef93f4a1837e1edc3d7e2b (diff)
downloadServo-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.py4
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('&nbsp;'),
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)