Do not override sql_raw

This commit is contained in:
Daniel García Aubert 2017-12-13 19:46:25 +01:00
parent 52d1cd47db
commit 0bc68d7144

View File

@ -91,7 +91,6 @@ module.exports = class AggregationMapConfigAdapter {
let aggregationSql = aggregation.sql();
if (sqlQueryWrap) {
layer.options.sql_raw = aggregationSql;
aggregationSql = sqlQueryWrap.replace(/<%=\s*sql\s*%>/g, aggregationSql);
}