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 | 993416780e04c8de3e59121c6503cc7786c9bea2 (patch) | |
tree | a5bc8855e2fb99ea3b753298f2d6b83f512d897a /archaeological_finds/forms.py | |
parent | b1f5bad2ddaebe2dd9943333d7efd131f63896e9 (diff) | |
download | Ishtar-993416780e04c8de3e59121c6503cc7786c9bea2.tar.bz2 Ishtar-993416780e04c8de3e59121c6503cc7786c9bea2.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( |