Last part of MKWS-413.
authorMike Taylor <mike@indexdata.com>
Tue, 6 Oct 2015 16:00:32 +0000 (17:00 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 6 Oct 2015 16:00:32 +0000 (17:00 +0100)
widget.autosearch no longer attempts to pass individual arguments into
team.newSearch. (It can't -- the variables are undefined.)

src/mkws-widget.js

index 94cd6f6..566f604 100644 (file)
@@ -114,7 +114,7 @@ mkws.makeWidget = function($, team, type, node) {
         // them in in the subclass, as widget.autosearch is called in
         // the superclass, before the subclass fiddles with the
         // configuration.
-        that.team.newSearch(that, query, sortOrder, maxrecs, perpage, limit, targets, targetfilter);
+        that.team.newSearch(that, query);
       });
     }
   };