From 4d1359bf9c1e6af498c842fc637f9cd850386956 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 23 Apr 2014 11:50:20 +0100 Subject: [PATCH] Separate generation of pp2filter and pp2limit --- src/mkws-team.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index aa84176..1278870 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -309,7 +309,11 @@ function team($, teamName) { filter.id = 'pz:id=' + filter.id; } pp2filter += filter.id; - } else { + } + } + for (var i in m_filters) { + var filter = m_filters[i]; + if (!filter.id) { if (pp2limit) pp2limit += ","; pp2limit += filter.field + "=" + filter.value.replace(/[\\|,]/g, '\\$&'); -- 1.7.10.4