From cb3f3cb981da56a3ad042de0579c9ae93c4abf3b Mon Sep 17 00:00:00 2001 From: ZitRos Date: Fri, 10 Jul 2015 15:20:50 -0400 Subject: [PATCH] fix to wrong interval filter apply behavior, other changes may apply --- package.json | 2 +- source/js/MDXParser.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) 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