Log the actual query when a search is submitted.
authorMike Taylor <mike@indexdata.com>
Mon, 2 Dec 2013 16:15:45 +0000 (16:15 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 2 Dec 2013 16:15:45 +0000 (16:15 +0000)
tools/htdocs/mkws.js

index 26d1fdb..b6f059e 100644 (file)
@@ -449,7 +449,7 @@ function triggerSearch ()
        }
     }
 
-    debug("triggerSearch: filters = " + JSON.stringify(mkws.filters) + ", pp2filter = " + pp2filter + ", pp2limit = " + pp2limit);
+    debug("triggerSearch(" + document.mkwsSearchForm.mkwsQuery.value + "): filters = " + JSON.stringify(mkws.filters) + ", pp2filter = " + pp2filter + ", pp2limit = " + pp2limit);
     my_paz.search(document.mkwsSearchForm.mkwsQuery.value, recPerPage, curSort, pp2filter, undefined, { limit: pp2limit });
 }