From 95002d6c80e0f13bd7066be4555a8d6742ea0f4b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 15 Sep 2016 15:07:41 +0200 Subject: Searches: 6 to 9 visible fileds by default - Operation numeric index in Finds search panel (refs #3215) --- archaeological_finds/forms.py | 2 ++ ishtar_common/templates/blocks/form_flex_snippet.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 6c6f41457..81299869f 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -219,6 +219,8 @@ class FindSelect(TableSelect): base_finds__context_record__parcel__town = get_town_field() base_finds__context_record__operation__year = forms.IntegerField( label=_(u"Year")) + base_finds__context_record__operation__operation_code = forms.IntegerField( + label=_(u"Operation's number (index by year)")) base_finds__context_record__operation__code_patriarche = \ forms.IntegerField( label=_(u"Code PATRIARCHE"), diff --git a/ishtar_common/templates/blocks/form_flex_snippet.html b/ishtar_common/templates/blocks/form_flex_snippet.html index 97ac37b44..65c38d36e 100644 --- a/ishtar_common/templates/blocks/form_flex_snippet.html +++ b/ishtar_common/templates/blocks/form_flex_snippet.html @@ -7,7 +7,7 @@ {% if forloop.counter0 == 0 %}

{% trans "Show / hide advanced search" %}