Remove old code to do with conflicting autosearch terms in a single team.
These paths are inaccessible since commit
ed9584cc29f7be0e35b94faf2e9800d9400598e6.
This allows us to stop abusing this.team.config.query as local state.
var that = this;
var query = this.config.autosearch;
if (query) {
- var old = this.team.config.query;
- if (!old) {
- // Stash this for subsequent inspection
- this.team.config.query = query;
- } else if (old === query) {
- this.warn("duplicate autosearch: '" + query + "': ignoring");
- return;
- } else {
- this.warn("conflicting autosearch: '" + query + "' vs '" + old + "': ignoring");
- return;
- }
-
this.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