From ab71ccc4a5312a369cde341a3249b005a4593ee3 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 1 Dec 2014 11:04:32 +0000 Subject: [PATCH] id fix for /suggest/nearby --- controller/suggest_nearby.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/suggest_nearby.js b/controller/suggest_nearby.js index b0a30f70..6016cb7f 100644 --- a/controller/suggest_nearby.js +++ b/controller/suggest_nearby.js @@ -49,7 +49,7 @@ function setup( backend, query ){ return { _index: 'pelias', _type: idParts[0], - _id: idParts[1] + _id: idParts.slice(1).join(':') }; });