From 5bcfbe76bc259a8c256d6f673b7a017a02136725 Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Fri, 30 Jun 2017 17:05:51 -0400 Subject: [PATCH] set search_using_ids query_type to 'original' --- query/address_search_using_ids.js | 2 +- test/unit/query/address_search_using_ids.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/query/address_search_using_ids.js b/query/address_search_using_ids.js index e3a5aea5..c0653211 100644 --- a/query/address_search_using_ids.js +++ b/query/address_search_using_ids.js @@ -168,7 +168,7 @@ function generateQuery( clean, res ){ logger.info(logParts.map(part => `[${part}]`).join(' ')); return { - type: 'fallback_using_ids', + type: 'original', body: addressUsingIdsQuery.render(vs) }; diff --git a/test/unit/query/address_search_using_ids.js b/test/unit/query/address_search_using_ids.js index 05fffae7..af153a17 100644 --- a/test/unit/query/address_search_using_ids.js +++ b/test/unit/query/address_search_using_ids.js @@ -51,7 +51,7 @@ module.exports.tests.base_query = (test, common) => { const generatedQuery = generateQuery(clean, res); - t.equals(generatedQuery.type, 'fallback_using_ids'); + t.equals(generatedQuery.type, 'original'); t.equals(generatedQuery.body.vs.var('input:housenumber').toString(), 'housenumber value'); t.equals(generatedQuery.body.vs.var('input:street').toString(), 'street value');