present, and explicitly passes it into team.newSearch. This shouldn't
be necessary because team.newSearch looks for the target config item
anyway, but for some reason that doesn't work.
Fixes SUP-807, but not in a satisfactory way.
// them in in the subclass, as widget.autosearch is called in
// the superclass, before the subclass fiddles with the
// configuration.
// them in in the subclass, as widget.autosearch is called in
// the superclass, before the subclass fiddles with the
// configuration.
- that.team.newSearch(that, query);
+ var torusquery = undefined;
+ var target = that.config.target;
+ if (target) torusquery = 'udb=="' + target + '"';
+ that.team.newSearch(that, query, undefined, undefined, undefined, undefined, undefined, torusquery);