X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=e47dc828d2830ee11a844f9bec7b0df37f1e3ed8;hb=bc9168431473fe5ba45b1eafc5d4bc9f05000cc0;hp=b59a8d2361c1dac20fc5e84580ade09990a3f319;hpb=ba29f86a67e3bda1d0df2d14de803aab03991f40;p=mkws-moved-to-github.git diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index b59a8d2..e47dc82 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -456,8 +456,7 @@ function team($, teamName) { } - // ### doesn't need windowid - function newSearch(query, sort, targets, windowid) + function newSearch(query, sort, targets) { debug("newSearch: " + query); @@ -470,7 +469,7 @@ function team($, teamName) { redraw_navi(); resetPage(); loadSelect(); - triggerSearch(query, sort, targets, windowid); + triggerSearch(query, sort, targets); switchView('records'); // In case it's configured to start off as hidden m_submitted = true; } @@ -493,8 +492,7 @@ function team($, teamName) { } - // ### doesn't need windowid - function triggerSearch (query, sort, targets, windowid) + function triggerSearch (query, sort, targets) { var pp2filter = ""; var pp2limit = ""; @@ -533,9 +531,7 @@ function team($, teamName) { if (pp2limit) { params.limit = pp2limit; } - if (windowid) { - params.windowid = windowid; - } + debug("triggerSearch(" + m_query + "): filters = " + $.toJSON(m_filters) + ", pp2filter = " + pp2filter + ", params = " + $.toJSON(params)); // We can use: params.torusquery = "udb=NAME" @@ -1167,7 +1163,7 @@ function team($, teamName) { if (targets) s += " in targets '" + targets + "'"; debug(s); - newSearch(query, sort, targets, m_teamName); + newSearch(query, sort, targets); }