diff --git a/query/address_search_using_ids.js b/query/address_search_using_ids.js index c0653211..323ce49a 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: 'original', + type: 'fallback', 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 af153a17..7a88a091 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, 'original'); + t.equals(generatedQuery.type, 'fallback'); t.equals(generatedQuery.body.vs.var('input:housenumber').toString(), 'housenumber value'); t.equals(generatedQuery.body.vs.var('input:street').toString(), 'street value');