summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-20 20:01:33 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-20 20:01:33 +0100
commit0521677e2887101894b39994fdebe3997ff6e118 (patch)
treeb095a65b258b37ee54503eff345d0b13119192a7 /archaeological_context_records/models.py
parent5864bd0cb09d4de5d2b192a9f3cb59bfbacfae46 (diff)
downloadIshtar-0521677e2887101894b39994fdebe3997ff6e118.tar.bz2
Ishtar-0521677e2887101894b39994fdebe3997ff6e118.zip
Search index: fix auto update of base find search - add parcel to context record search
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 56d43e295..cb6dbc635 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -373,7 +373,7 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem,
),
}
- PARENT_ONLY_SEARCH_VECTORS = ['operation', "archaeological_site"]
+ PARENT_ONLY_SEARCH_VECTORS = ["operation", "archaeological_site", "parcel"]
BASE_SEARCH_VECTORS = ["cached_label", "label", "location", "town__name",
"interpretation", "filling", "datings_comment",
"identification__label", "activity__label",