From: Wolfram Schneider Date: Fri, 16 Aug 2013 11:58:22 +0000 (+0000) Subject: finish variable rename: mkwsSearchForm.query -> mkwsSearchForm.mkwsQuery X-Git-Tag: 0.9.1~240 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d3b9f1529768e96c18dc8ce2e092c46e55495826;p=mkws-moved-to-github.git finish variable rename: mkwsSearchForm.query -> mkwsSearchForm.mkwsQuery this fix the issue that you couldn't run limitQuery for Authors and Subjects --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 2332894..e90ff29 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -310,7 +310,7 @@ function loadSelect () // limit the query after clicking the facet function limitQuery (field, value) { - document.mkwsSearchForm.query.value += ' and ' + field + '="' + value + '"'; + document.mkwsSearchForm.mkwsQuery.value += ' and ' + field + '="' + value + '"'; onFormSubmitEventHandler(); }