summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-13 18:21:21 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-13 18:21:21 +0200
commite4258578c8a6280e9a8a46f78310b8ee51069c6a (patch)
tree3b24f69d6ab86ed0bd62036ea78c24fbb02f9faf /archaeological_context_records/models.py
parentbdc283675c0462e78f47059d2ce28cfabfb87433 (diff)
downloadIshtar-e4258578c8a6280e9a8a46f78310b8ee51069c6a.tar.bz2
Ishtar-e4258578c8a6280e9a8a46f78310b8ee51069c6a.zip
Find: improve searches
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 11b7732f8..8395fb8fe 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -331,7 +331,7 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem,
blank=True)
cached_label = models.TextField(_(u"Cached name"), null=True, blank=True,
db_index=True)
- PARENT_SEARCH_VECTORS = ['operation']
+ PARENT_SEARCH_VECTORS = ['operation', "archaeological_site"]
BASE_SEARCH_VECTORS = ["cached_label", "label", "location", "town__name",
"interpretation", "filling", "datings_comment",
"identification__label", "activity__label",