From 8661870960701ba1ac7b52a867ed14d10acacf93 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 21 Jan 2018 20:28:02 +0100 Subject: Administrativ act: adapt forms, models and sheet --- archaeological_finds/forms_treatments.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_finds/forms_treatments.py') 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=[]) -- cgit v1.2.3