From 7d73902c818c7380b9f55c8966310f4cdfb670b6 Mon Sep 17 00:00:00 2001 From: marwoodandrew Date: Wed, 4 Oct 2017 12:14:30 +1100 Subject: [PATCH] fix(locations mapping) --- server/planning/locations.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/planning/locations.py b/server/planning/locations.py index 838daa2cd..c6f487b94 100644 --- a/server/planning/locations.py +++ b/server/planning/locations.py @@ -125,7 +125,10 @@ def on_create(self, docs): 'postal_code': {'type': 'string'}, 'external': { 'type': 'dict', - 'mapping': not_indexed + 'mapping': { + 'type': 'object', + 'enabled': False + } } }, },