From 8f763d655d2a9e6e94aec58cf7293ca1fb6cdfe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 1 Aug 2018 17:16:14 +0200 Subject: [PATCH] Do not rename output values --- .../models/mapconfig/adapter/mapconfig-overviews-adapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cartodb/models/mapconfig/adapter/mapconfig-overviews-adapter.js b/lib/cartodb/models/mapconfig/adapter/mapconfig-overviews-adapter.js index 074129ad..057a008c 100644 --- a/lib/cartodb/models/mapconfig/adapter/mapconfig-overviews-adapter.js +++ b/lib/cartodb/models/mapconfig/adapter/mapconfig-overviews-adapter.js @@ -71,7 +71,7 @@ function augmentLayer(overviewsMetadataBackend, filterStatsBackend, user, layer, if (!filters) { if (!_.isEmpty(metadata)) { layer = Object.assign({}, layer); - layer.options = Object.assign({}, layer.options, { queryRewriteData }); + layer.options = Object.assign({}, layer.options, { query_rewrite_data: queryRewriteData }); } return callback(null, layer); @@ -88,7 +88,7 @@ function augmentLayer(overviewsMetadataBackend, filterStatsBackend, user, layer, if (!_.isEmpty(metadata)) { layer = Object.assign({}, layer); - layer.options = Object.assign({}, layer.options, { queryRewriteData }); + layer.options = Object.assign({}, layer.options, { query_rewrite_data: queryRewriteData }); } return callback(null, layer);