diff --git a/package.json b/package.json index b3bae50..6dd1bf2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "LightPivotTable", "author": "ZitRo", - "version": "1.2.5", + "version": "1.2.6", "description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache", "main": "test/testServer.js", "repository": { diff --git a/source/js/MDXParser.js b/source/js/MDXParser.js index 7e7fb8c..e321aaf 100644 --- a/source/js/MDXParser.js +++ b/source/js/MDXParser.js @@ -133,12 +133,6 @@ MDXParser.prototype.mdxType = function (mdx) { */ MDXParser.prototype.applyFilter = function (basicMDX, filterSpec) { - var re = /\((([^\),])+,?)+\)/; // gathered filter - - if (re.test(filterSpec)) { - return basicMDX + " %FILTER " + filterSpec.substr(1, filterSpec.length-2).split(",").join(" %FILTER "); - } - return basicMDX + " %FILTER " + filterSpec; }; \ No newline at end of file