From a4631cb4346f00f017615535b16f774cc589c9d4 Mon Sep 17 00:00:00 2001 From: Jean-Yves Gaulier Date: Tue, 8 Oct 2019 15:30:19 +0200 Subject: [PATCH] PHRAS-2751_geoloc-search-403err_master fix : geoloc search should work again (missed method during PHRAS-2707) --- .../SearchEngine/Elastic/AST/KeyValue/GeolocationKey.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Alchemy/Phrasea/SearchEngine/Elastic/AST/KeyValue/GeolocationKey.php b/lib/Alchemy/Phrasea/SearchEngine/Elastic/AST/KeyValue/GeolocationKey.php index 9d8942e8f7..4ab7998d2b 100644 --- a/lib/Alchemy/Phrasea/SearchEngine/Elastic/AST/KeyValue/GeolocationKey.php +++ b/lib/Alchemy/Phrasea/SearchEngine/Elastic/AST/KeyValue/GeolocationKey.php @@ -58,6 +58,11 @@ class GeolocationKey implements Key $this->key = $key; } + public function getFieldType(QueryContext $context) + { + return $this->type; + } + public function getIndexField(QueryContext $context, $raw = false) { return $this->key;