Oops, reinstate accidentally deleted line.
[mkws-moved-to-github.git] / src / mkws-widgets.js
index 17ecdab..be802dd 100644 (file)
@@ -287,17 +287,18 @@ mkws.registerWidgetType('Records', function() {
        this.team.queue("ready").subscribe(function() {
            var sortOrder = that.config.sort;
            var perpage = that.config.perpage;
+           var limit = that.config.limit;
            var targets = that.config.targets;
-           var torusquery = that.config.torusquery;
-           that.log("torusquery='" + torusquery + "'");
+           var targetfilter = that.config.targetfilter;
            var s = "running auto search: '" + query + "'";
            if (sortOrder) s += " sorted by '" + sortOrder + "'";
            if (perpage) s += " with " + perpage + " per page";
+           if (limit) s += " limited by '" + limit + "'";
            if (targets) s += " in targets '" + targets + "'";
-           if (torusquery) s += " limited by torusquery '" + torusquery + "'";
+           if (targetfilter) s += " constrained by targetfilter '" + targetfilter + "'";
            that.log(s);
 
-           that.team.newSearch(query, sortOrder, perpage, targets, torusquery);
+           that.team.newSearch(query, sortOrder, perpage, limit, targets, targetfilter);
        });
     }
 });