projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0022520
)
Generate category limits correctly -- thanks to NE!
author
Mike Taylor
<mike@indexdata.com>
Thu, 24 Apr 2014 13:43:07 +0000
(14:43 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 24 Apr 2014 13:43:07 +0000
(14:43 +0100)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
b02b441
..
08f67b3
100644
(file)
--- 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)