diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-21 20:28:02 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-21 20:28:02 +0100 |
commit | f4bad8942ed753b85fcf7bdb00ce666bebe53c97 (patch) | |
tree | 5e230e6e9a775029ee560a92a4678064ae1a3ec4 /archaeological_finds/forms_treatments.py | |
parent | af1ea36dabb2cd1e165e54020286ff723c109f37 (diff) | |
download | Ishtar-f4bad8942ed753b85fcf7bdb00ce666bebe53c97.tar.bz2 Ishtar-f4bad8942ed753b85fcf7bdb00ce666bebe53c97.zip |
Administrativ act: adapt forms, models and sheet
Diffstat (limited to 'archaeological_finds/forms_treatments.py')
-rw-r--r-- | archaeological_finds/forms_treatments.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py index fd74cc599..6dfc028e6 100644 --- a/archaeological_finds/forms_treatments.py +++ b/archaeological_finds/forms_treatments.py @@ -333,6 +333,7 @@ class DashboardForm(IshtarForm): class AdministrativeActTreatmentSelect(TableSelect): + search_vector = forms.CharField(label=_(u"Full text search")) year = forms.IntegerField(label=_("Year")) index = forms.IntegerField(label=_("Index")) act_type = forms.ChoiceField(label=_("Act type"), choices=[]) @@ -588,6 +589,7 @@ class DashboardTreatmentFileForm(IshtarForm): class AdministrativeActTreatmentFileSelect(TableSelect): + search_vector = forms.CharField(label=_(u"Full text search")) year = forms.IntegerField(label=_("Year")) index = forms.IntegerField(label=_("Index")) act_type = forms.ChoiceField(label=_("Act type"), choices=[]) |