From 794aa547ae60ffc5016fed4663c3a9463e5830dd Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 28 Dec 2015 12:31:25 +0100 Subject: Administrativ act: display and search act's object --- archaeological_files/forms.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archaeological_files/forms.py') diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index a8dd99135..8c360e364 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -379,6 +379,8 @@ class AdministrativeActFileModifySelect(TableSelect): ref_sra = forms.CharField(label=u"Référence SRA", max_length=15) act_type = forms.ChoiceField(label=_("Act type"), choices=[]) + act_object = forms.CharField(label=_(u"Object (full text search)"), + max_length=300) operation__towns = get_town_field() if settings.ISHTAR_DPTS: operation__towns__numero_insee__startswith = forms.ChoiceField( @@ -442,6 +444,8 @@ class AdministrativeActFileSelect(TableSelect): if settings.ISHTAR_DPTS: operation__towns__numero_insee__startswith = forms.ChoiceField( label=_(u"Department"), choices=[]) + act_object = forms.CharField(label=_(u"Object (full text search)"), + max_length=300) history_creator = forms.IntegerField( label=_(u"Created by"), widget=widgets.JQueryAutoComplete( -- cgit v1.2.3