From: Jason Skomorowski Date: Fri, 6 Feb 2015 15:20:14 +0000 (-0500) Subject: Allow multiple categories MKWS-377 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=02c949ed04e5815509831069e549504701153562;p=mkws-moved-to-github.git Allow multiple categories MKWS-377 --- diff --git a/src/mkws-filter.js b/src/mkws-filter.js index 3554d98..5833cc3 100644 --- a/src/mkws-filter.js +++ b/src/mkws-filter.js @@ -95,7 +95,7 @@ function filterSet(team) { that.visitCategories(function(id) { if (res) res += ","; - res += "category~" + id.replace(/[\\|,]/g, '\\$&'); + res += "category~" + id.replace(/[\,]/g, '\\$&'); }); return res; }