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 | a71b41d0f28f51e7c9b541f30e50e96a9d2d9139 (patch) | |
tree | ee90b29d451a38d375133fc610fbc719fe01eb31 /archaeological_operations/models.py | |
parent | 7425ac6cb4b08a2933805b0de4594a2efbeacb32 (diff) | |
download | Ishtar-a71b41d0f28f51e7c9b541f30e50e96a9d2d9139.tar.bz2 Ishtar-a71b41d0f28f51e7c9b541f30e50e96a9d2d9139.zip |
Search index: add INSEE to operations
Diffstat (limited to 'archaeological_operations/models.py')
-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"] |