From 38197df055c1d3472174b9b805d9237525806f3c Mon Sep 17 00:00:00 2001 From: renato Date: Fri, 17 Jun 2016 12:17:27 +0200 Subject: [PATCH] use cache preview datalets --- controllets/select-visualization-controllet/select-visualization-controllet.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controllets/select-visualization-controllet/select-visualization-controllet.html b/controllets/select-visualization-controllet/select-visualization-controllet.html index 127ebbb..14dc754 100755 --- a/controllets/select-visualization-controllet/select-visualization-controllet.html +++ b/controllets/select-visualization-controllet/select-visualization-controllet.html @@ -358,11 +358,11 @@ var params = this.$.options.getParams(); for (var key in params) { this.params[key] = params[key]; } - /*????? senza filtri"*/var data = alasql_complexSelectData(this.data, this.selectedFields, this.filters, inputs.getAggregators(), inputs.getOrders()); - data = transformData(data, this.selectedFields, true); - //use cache -// this.params["data"] = JSON.stringify(data).replace(/'/g, "'"); + var data = alasql_complexSelectData(this.data, this.selectedFields, [], inputs.getAggregators(), inputs.getOrders()); + data = transformData(data, this.selectedFields, true); + this.params["data"] = JSON.stringify(data).replace(/'/g, "'"); + // var dataletParams ={ component: this.selectedDatalet+"-datalet", -- libgit2 0.21.4