From 04ee68fc68554df39378fc1b67ad403b880bb2e9 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 24 Apr 2014 14:43:07 +0100 Subject: [PATCH] Generate category limits correctly -- thanks to NE! --- src/mkws-team.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index b02b441..08f67b3 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -272,10 +272,12 @@ function team($, teamName) { var pp2filter = m_filterSet.pp2filter(); var pp2limit = m_filterSet.pp2limit(limit); var pp2catLimit = m_filterSet.pp2catLimit(); + if (pp2catLimit) { + pp2filter = pp2filter ? pp2filter + "," + pp2catLimit : pp2catLimit; + } var params = {}; if (pp2limit) params.limit = pp2limit; - if (pp2catLimit) params.categoryfilter = pp2catLimit; if (maxrecs) params.maxrecs = maxrecs; if (torusquery) { if (!mkws.config.use_service_proxy) -- 1.7.10.4