summaryrefslogtreecommitdiff
path: root/archaeological_context_records
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
commit79a867cc6eae4fa2d646e979b83e234a53573477 (patch)
tree3b24f69d6ab86ed0bd62036ea78c24fbb02f9faf /archaeological_context_records
parent641045c67cfc159633be81f676d0574a6481c871 (diff)
downloadIshtar-79a867cc6eae4fa2d646e979b83e234a53573477.tar.bz2
Ishtar-79a867cc6eae4fa2d646e979b83e234a53573477.zip
Find: improve searches
Diffstat (limited to 'archaeological_context_records')
-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",