This can be used to say:
<div class='mkwsRecords' autosearch='dinosaur' torusquery='udb=brown'/>
var sortOrder = that.config.sort;
var perpage = that.config.perpage;
var targets = that.config.targets;
var sortOrder = that.config.sort;
var perpage = that.config.perpage;
var targets = that.config.targets;
+ var torusquery = that.config.torusquery;
+ that.log("torusquery='" + torusquery + "'");
var s = "running auto search: '" + query + "'";
if (sortOrder) s += " sorted by '" + sortOrder + "'";
if (perpage) s += " with " + perpage + " per page";
if (targets) s += " in targets '" + targets + "'";
var s = "running auto search: '" + query + "'";
if (sortOrder) s += " sorted by '" + sortOrder + "'";
if (perpage) s += " with " + perpage + " per page";
if (targets) s += " in targets '" + targets + "'";
+ if (torusquery) s += " limited by torusquery '" + torusquery + "'";
- that.team.newSearch(query, sortOrder, perpage, targets);
+ that.team.newSearch(query, sortOrder, perpage, targets, torusquery);