diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-03 01:46:28 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-03 01:46:28 +0100 |
commit | 3399828d16f12caecf6eed8acd2869d5f20f1817 (patch) | |
tree | a17fbf56ae06fc3038abc22ccbfd1f15ada1f070 /archaeological_finds/forms.py | |
parent | e7165c5915d5ecddf1248f0cbfb03e5efccd45a7 (diff) | |
download | Ishtar-3399828d16f12caecf6eed8acd2869d5f20f1817.tar.bz2 Ishtar-3399828d16f12caecf6eed8acd2869d5f20f1817.zip |
Search: "today" keyword for dates with '-' and '+' days - add find criteria
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r-- | archaeological_finds/forms.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 3019d4aa2..66f99d08b 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -883,8 +883,11 @@ class FindSelect(HistorySelect): base_finds__batch = forms.ChoiceField( label=_(u"Batch/object"), choices=[]) checked_type = forms.ChoiceField(label=_("Check")) - loan = forms.NullBooleanField(label=_(u"Loan?")) documents__image__isnull = forms.NullBooleanField(label=_(u"Has an image?")) + loan = forms.NullBooleanField(label=_(u"Loan?")) + treatments_file_end_date = forms.DateField( + label=_(u"Treatment file end date before"), widget=DatePicker + ) TYPES = [ FieldType('datings__period', Period), |