From: Mike Taylor Date: Wed, 2 Apr 2014 15:42:56 +0000 (+0100) Subject: Recognise targetfilter attribute instead of torusquery X-Git-Tag: 1.0.0~1088 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=1f06850e335fcb1226fca5ea64d399eaa7c67767;p=mkws-moved-to-github.git Recognise targetfilter attribute instead of torusquery --- diff --git a/src/mkws-widgets.js b/src/mkws-widgets.js index 1e01385..be802dd 100644 --- a/src/mkws-widgets.js +++ b/src/mkws-widgets.js @@ -289,17 +289,16 @@ mkws.registerWidgetType('Records', function() { 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 += " constrained by torusquery '" + torusquery + "'"; + if (targetfilter) s += " constrained by targetfilter '" + targetfilter + "'"; that.log(s); - that.team.newSearch(query, sortOrder, perpage, limit, targets, torusquery); + that.team.newSearch(query, sortOrder, perpage, limit, targets, targetfilter); }); } });