X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widgets.js;h=1e01385da83af4c87885162a50807e0e216cd0f6;hb=7a018885efffed677584ad7d5e849f764fb241b1;hp=17ecdab10998f4757ce301bb29ca0662370de10b;hpb=276668bcb345b28b69bf1f3d21849735d6923913;p=mkws-moved-to-github.git diff --git a/src/mkws-widgets.js b/src/mkws-widgets.js index 17ecdab..1e01385 100644 --- a/src/mkws-widgets.js +++ b/src/mkws-widgets.js @@ -287,17 +287,19 @@ 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 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 (torusquery) s += " constrained by torusquery '" + torusquery + "'"; that.log(s); - that.team.newSearch(query, sortOrder, perpage, targets, torusquery); + that.team.newSearch(query, sortOrder, perpage, limit, targets, torusquery); }); } });