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:
558d744
)
Separate generation of pp2filter and pp2limit
author
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 10:50:20 +0000
(11:50 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 10:50:20 +0000
(11:50 +0100)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
aa84176
..
1278870
100644
(file)
--- 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, '\\$&');