diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-05 13:05:43 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 08:54:04 +0200 |
commit | cf4c1d9516e3a0a26b6146b098b30be09e900caa (patch) | |
tree | 4a3c2e51dde8cc40fcffc7c8230e88f8b9e24c6a | |
parent | bd9e7d5d4f0eec90b0db39391e05919e4adb1342 (diff) | |
download | Ishtar-cf4c1d9516e3a0a26b6146b098b30be09e900caa.tar.bz2 Ishtar-cf4c1d9516e3a0a26b6146b098b30be09e900caa.zip |
Context record search: add town to search vector
-rw-r--r-- | archaeological_context_records/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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"] |