projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Leading "pz:id=" is optional in triggerSearch()
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
67bedc6
..
18ac664
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-469,8
+469,10
@@
function triggerSearch (query, sort, targets)
var filter = mkws.filters[i];
if (filter.id) {
if (pp2filter)
var filter = mkws.filters[i];
if (filter.id) {
if (pp2filter)
- pp2filter += ",";
- pp2filter += 'pz:id=' + filter.id;
+ pp2filter += "|";
+ if (filter.id.indexOf('pz:id=') != 0)
+ filter.id = 'pz:id=' + filter.id;
+ pp2filter += filter.id;
} else {
if (pp2limit)
pp2limit += ",";
} else {
if (pp2limit)
pp2limit += ",";