File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11
11
12
12
<Class name =" DeepSee.LightPivotTable" >
13
13
<Super >%DeepSee.Component.Portlet.abstractPortlet</Super >
14
- <TimeChanged >63574,73711.132259 </TimeChanged >
14
+ <TimeChanged >63574,69706.798517 </TimeChanged >
15
15
<TimeCreated >63515,61322.546099</TimeCreated >
16
16
17
17
<Parameter name =" INCLUDEFILES" >
137
137
var controller = this.getConnectedController(),
138
138
source,
139
139
setup,
140
+ filterValue,
140
141
_ = this,
141
142
widget = this, // It's lie. It changes later.
142
143
widgetKey,
210
211
//console.log(info);
211
212
if (info.controls instanceof Array) {
212
213
for (i in info.controls) {
213
- if (info.controls[i].action === "applyFilter" && info.controls[i].value) {
214
- defaultFilters.push(info.controls[i].targetProperty + "." + info.controls[i].value);
214
+ if ((info.controls[i].action === "applyFilter" || info.controls[i].action === "setFilter") && info.controls[i].value) {
215
+ if ((filterValue = info.controls[i].value).charAt(0) === "%" && filterValue.indexOf(" ") > 1) {
216
+ filterValue = filterValue.split(" ")[1] + "." + filterValue.split(" ")[0]
217
+ }
218
+ defaultFilters.push(info.controls[i].targetProperty + "." + filterValue);
215
219
}
216
220
}
217
221
}
Original file line number Diff line number Diff line change @@ -130,6 +130,10 @@ DataSource.prototype.getCurrentData = function (callback) {
130
130
pivotData : { }
131
131
} ;
132
132
133
+ for ( var i = 0 ; i < this . FILTERS . length ; i ++ ) {
134
+ mdx = mdxParser . applyFilter ( mdx , this . FILTERS [ i ] ) ;
135
+ }
136
+
133
137
var setupPivotOptions = function ( ) {
134
138
135
139
var data = ready . pivotData ;
You can’t perform that action at this time.
0 commit comments