From 68c067ee8cf76d702501f3347236a0f8cf61e974 Mon Sep 17 00:00:00 2001 From: Tyler Pedelose Date: Tue, 12 Jun 2018 15:39:55 -0400 Subject: [PATCH] Fix for Pelias/Pelias#670 --- routes/v1.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/routes/v1.js b/routes/v1.js index 6b40f1d6..f356d5b1 100644 --- a/routes/v1.js +++ b/routes/v1.js @@ -166,11 +166,11 @@ function addRoutes(app, peliasConfig) { hasRequestCategories ) ), - any( - // only geodisambiguate if libpostal returned only admin areas or libpostal was skipped - isAdminOnlyAnalysis, - isRequestSourcesOnlyWhosOnFirst - ) + isRequestSourcesOnlyWhosOnFirst + // all( + // only geodisambiguate if libpostal was skipped libpostal returned only admin areas or + // isAdminOnlyAnalysis, + // ) ); // execute placeholder if libpostal identified address parts but ids need to