Commit 38197df055c1d3472174b9b805d9237525806f3c

Authored by Renato De Donato
1 parent 0f7c7050

use cache preview datalets

controllets/select-visualization-controllet/select-visualization-controllet.html
... ... @@ -358,11 +358,11 @@
358 358 var params = this.$.options.getParams();
359 359 for (var key in params) { this.params[key] = params[key]; }
360 360  
361   - /*????? senza filtri"*/var data = alasql_complexSelectData(this.data, this.selectedFields, this.filters, inputs.getAggregators(), inputs.getOrders());
362   - data = transformData(data, this.selectedFields, true);
363   -
364 361 //use cache
365   -// this.params["data"] = JSON.stringify(data).replace(/'/g, "'");
  362 + var data = alasql_complexSelectData(this.data, this.selectedFields, [], inputs.getAggregators(), inputs.getOrders());
  363 + data = transformData(data, this.selectedFields, true);
  364 + this.params["data"] = JSON.stringify(data).replace(/'/g, "'");
  365 + //
366 366  
367 367 var dataletParams ={
368 368 component: this.selectedDatalet+"-datalet",
... ...