diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-01-18 20:55:39 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:23 +0100 |
commit | 30fff1ce12c54ccbf99ab0d2afdb9d38b8367565 (patch) | |
tree | ae99dbe5e40e842fa3cff360864a9b148367fccf /archaeological_finds/forms.py | |
parent | 8db3d86d332266d6cfae60cb92107fb8aa1645bb (diff) | |
download | Ishtar-30fff1ce12c54ccbf99ab0d2afdb9d38b8367565.tar.bz2 Ishtar-30fff1ce12c54ccbf99ab0d2afdb9d38b8367565.zip |
Find search: add treatment end date
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 49fae40b4..014a094bc 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -1210,7 +1210,10 @@ class FindSelect(DocumentItemSelect, PeriodSelect): loan = forms.NullBooleanField(label=_(u"Loan?")) treatments_file_end_date = forms.DateField( - label=_(u"Treatment file end date before"), widget=DatePicker + label=_("Treatment file end date before"), widget=DatePicker + ) + treatments_end_date = forms.DateField( + label=_("Treatment end date before"), widget=DatePicker ) TYPES = PeriodSelect.TYPES + [ |