Part of ACREP-80: new 'widget' parameter to team.newSearch
[mkws-moved-to-github.git] / src / mkws-widget.js
index 4cace29..cb5708a 100644 (file)
@@ -131,7 +131,7 @@ mkws.makeWidget = function($, team, type, node) {
         if (targetfilter) s += " constrained by targetfilter '" + targetfilter + "'";
         that.info(s);
 
-        that.team.newSearch(query, sortOrder, maxrecs, perpage, limit, targets, targetfilter);
+        that.team.newSearch(that, query, sortOrder, maxrecs, perpage, limit, targets, targetfilter);
       });
     }
   };