Allow multiple categories MKWS-377
authorJason Skomorowski <jason@indexdata.com>
Fri, 6 Feb 2015 15:20:14 +0000 (10:20 -0500)
committerJason Skomorowski <jason@indexdata.com>
Fri, 6 Feb 2015 15:20:14 +0000 (10:20 -0500)
src/mkws-filter.js

index 3554d98..5833cc3 100644 (file)
@@ -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;
   }