summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
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
commit3399828d16f12caecf6eed8acd2869d5f20f1817 (patch)
treea17fbf56ae06fc3038abc22ccbfd1f15ada1f070 /archaeological_finds/forms.py
parente7165c5915d5ecddf1248f0cbfb03e5efccd45a7 (diff)
downloadIshtar-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.py5
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),