Merge pull request #471 from CartoDB/mapconfig-fix-adapters-order
Order of adapters: named maps should expand named layers as first step
This commit is contained in:
commit
862f8b4ce6
@ -157,9 +157,9 @@ module.exports = function(serverOptions) {
|
|||||||
var turboCartoParser = new TurboCartoParser(pgQueryRunner);
|
var turboCartoParser = new TurboCartoParser(pgQueryRunner);
|
||||||
|
|
||||||
var mapConfigAdapter = new MapConfigAdapter([
|
var mapConfigAdapter = new MapConfigAdapter([
|
||||||
|
new MapConfigNamedLayersAdapter(templateMaps, pgConnection),
|
||||||
new SqlWrapMapConfigAdapter(),
|
new SqlWrapMapConfigAdapter(),
|
||||||
new AnalysisMapConfigAdapter(analysisBackend),
|
new AnalysisMapConfigAdapter(analysisBackend),
|
||||||
new MapConfigNamedLayersAdapter(templateMaps, pgConnection),
|
|
||||||
new MapConfigOverviewsAdapter(overviewsMetadataApi, filterStatsApi),
|
new MapConfigOverviewsAdapter(overviewsMetadataApi, filterStatsApi),
|
||||||
new TurboCartoAdapter(turboCartoParser)
|
new TurboCartoAdapter(turboCartoParser)
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user