From 04916af258aee61ce7aaeba49d2e9ca1da82984f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 12 Oct 2017 18:33:51 +0200 Subject: Search forms: add full text search for operation, context record and find (refs #2912) --- archaeological_operations/forms.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archaeological_operations') diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 651cd740f..841131da6 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -480,6 +480,7 @@ RecordRelationsFormSet.form_label = _(u"Relations") class OperationSelect(TableSelect): + search_vector = forms.CharField(label=_(u"Full text search")) year = forms.IntegerField(label=_("Year")) operation_code = forms.IntegerField(label=_(u"Numeric reference")) if settings.COUNTRY == 'fr': -- cgit v1.2.3