Stash query for subsequent inspection
authorMike Taylor <mike@indexdata.com>
Tue, 27 May 2014 16:11:58 +0000 (17:11 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 27 May 2014 16:11:58 +0000 (17:11 +0100)
src/mkws-widget.js

index d1c76b4..3def9e3 100644 (file)
@@ -133,6 +133,9 @@ widget.autosearch = function(widget) {
       }
     }
 
+    // Stash this for subsequent inspection
+    widget.team.config().query = query;
+
     widget.team.queue("ready").subscribe(function() {
       // Postpone testing for the configuration items: these are not
       // yet set for Record subclass widgets that fill them in in the