From a1378b8d0246848be2d7a29bb44b14a5cf97c689 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 5 Jun 2018 13:05:43 +0200 Subject: Context record search: add town to search vector --- archaeological_context_records/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index db65389f0..da488f773 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -331,7 +331,7 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, cached_label = models.TextField(_(u"Cached name"), null=True, blank=True, db_index=True) PARENT_SEARCH_VECTORS = ['operation'] - BASE_SEARCH_VECTORS = ["cached_label", "label", "location", + BASE_SEARCH_VECTORS = ["cached_label", "label", "location", "town__name", "interpretation", "filling", "datings_comment", "identification__label", "activity__label", "excavation_technic__label"] -- cgit v1.2.3