Skip to content

Commit cb3f3cb

Browse files
fix to wrong interval filter apply behavior, other changes may apply
1 parent 22ac3f0 commit cb3f3cb

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "LightPivotTable",
33
"author": "ZitRo",
4-
"version": "1.2.5",
4+
"version": "1.2.6",
55
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
66
"main": "test/testServer.js",
77
"repository": {

source/js/MDXParser.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ MDXParser.prototype.mdxType = function (mdx) {
133133
*/
134134
MDXParser.prototype.applyFilter = function (basicMDX, filterSpec) {
135135

136-
var re = /\((([^\),])+,?)+\)/; // gathered filter
137-
138-
if (re.test(filterSpec)) {
139-
return basicMDX + " %FILTER " + filterSpec.substr(1, filterSpec.length-2).split(",").join(" %FILTER ");
140-
}
141-
142136
return basicMDX + " %FILTER " + filterSpec;
143137

144138
};

0 commit comments

Comments
 (0)