Skip to content

Commit

Permalink
fix to wrong interval filter apply behavior, other changes may apply
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Jul 10, 2015
1 parent 22ac3f0 commit cb3f3cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
6 changes: 0 additions & 6 deletions source/js/MDXParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

};

0 comments on commit cb3f3cb

Please sign in to comment.