Revert to 12099f341d4d836116b636796a8e4af3306d3828 (undoing last
authorMike Taylor <mike@indexdata.com>
Tue, 13 Oct 2015 21:15:26 +0000 (22:15 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 13 Oct 2015 21:15:26 +0000 (22:15 +0100)
commit) because I now have a proper fix for SUP-807.

src/mkws-widget.js

index 45b0b40..566f604 100644 (file)
@@ -114,10 +114,7 @@ mkws.makeWidget = function($, team, type, node) {
         // them in in the subclass, as widget.autosearch is called in
         // the superclass, before the subclass fiddles with the
         // configuration.
-        var torusquery = undefined;
-        var target = that.config.target;
-        if (target) torusquery = 'udb=="' + target + '"';
-        that.team.newSearch(that, query, undefined, undefined, undefined, undefined, undefined, torusquery);
+        that.team.newSearch(that, query);
       });
     }
   };