summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-12 18:33:51 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-12 18:33:51 +0200
commitc4402e45cdb8f5e3432a249e3c134534b3fc1998 (patch)
treeaa89c322aa3a0ad5c06e9e022ffc7b695e3758a7 /archaeological_operations/forms.py
parenta77af8373cac0432370709972a55debb7abaa09c (diff)
downloadIshtar-c4402e45cdb8f5e3432a249e3c134534b3fc1998.tar.bz2
Ishtar-c4402e45cdb8f5e3432a249e3c134534b3fc1998.zip
Search forms: add full text search for operation, context record and find (refs #2912)
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py1
1 files changed, 1 insertions, 0 deletions
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':