finish variable rename: mkwsSearchForm.query -> mkwsSearchForm.mkwsQuery
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 16 Aug 2013 11:58:22 +0000 (11:58 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 16 Aug 2013 11:58:22 +0000 (11:58 +0000)
this fix the issue that you couldn't run limitQuery for Authors and Subjects

tools/htdocs/mkws.js

index 2332894..e90ff29 100644 (file)
@@ -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();
 }