diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-16 17:43:20 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-16 17:43:20 +0200 |
commit | 74b5ed4972570919f2655948b9c2655892ae19c8 (patch) | |
tree | a5bc8855e2fb99ea3b753298f2d6b83f512d897a /archaeological_finds/forms.py | |
parent | 9b7699ff154f1736c9ed0a93d061812c8296a86f (diff) | |
download | Ishtar-74b5ed4972570919f2655948b9c2655892ae19c8.tar.bz2 Ishtar-74b5ed4972570919f2655948b9c2655892ae19c8.zip |
Docs: search by operation code (refs #3015)
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r-- | archaeological_finds/forms.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 03a9c5762..7b9c68d75 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -431,6 +431,11 @@ SourceFindFormSelection = get_form_selection( class FindSourceSelect(SourceSelect): find__base_finds__context_record__operation__year = forms.IntegerField( label=_(u"Year of the operation")) + find__base_finds__context_record__operation__operation_code = \ + forms.IntegerField(label=_(u"Numeric reference")) + if settings.COUNTRY == 'fr': + find__base_finds__context_record__operation__code_patriarche = \ + forms.IntegerField(label="Numéro d'opération (OA Patriarche)") find__datings__period = forms.ChoiceField( label=_(u"Period of the archaelogical find"), choices=[]) find__material_type = forms.ChoiceField( |