diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-09-02 09:47:38 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-09-02 09:47:38 +0200 |
commit | 57fde53a1b5d5d7fb93b9bb0f49bc74bc6466c33 (patch) | |
tree | ee90b29d451a38d375133fc610fbc719fe01eb31 /archaeological_operations | |
parent | 51fae791921012870ec90ca3fd8cb850105fac51 (diff) | |
download | Ishtar-57fde53a1b5d5d7fb93b9bb0f49bc74bc6466c33.tar.bz2 Ishtar-57fde53a1b5d5d7fb93b9bb0f49bc74bc6466c33.zip |
Search index: add INSEE to operations
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index db63088e5..3494e6427 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -800,6 +800,7 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem, QRCodeItem, SearchVectorConfig("periods__label", "local"), SearchVectorConfig("remains__label", "local"), SearchVectorConfig("towns__name"), + SearchVectorConfig("towns__numero_insee"), ] PARENT_SEARCH_VECTORS = ["associated_file"] PARENT_ONLY_SEARCH_VECTORS = ["archaeological_sites"] |