From 1536ffea3b86b4115b8c156c2326bc08d91dfb3e Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 14 Oct 2015 11:03:08 +0100 Subject: [PATCH] Update documentation of newSearch method to reflect newish "widget" parameter. --- doc/mkws-developer.markdown | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/mkws-developer.markdown b/doc/mkws-developer.markdown index 92d68c9..ca7486f 100644 --- a/doc/mkws-developer.markdown +++ b/doc/mkws-developer.markdown @@ -305,13 +305,14 @@ automatically). used to subscribe to the event (or more rarely to publish it). See [the section on events, below](#events). -* `Void team.newSearch(query, sortOrder, maxrecs, perpage, limit, targets, targetfilter)` -- - Starts a new search with the specified parameters. All but the - query may be omitted, in which case the prevailing defaults - are used. The meanings of the parameters are those of the - same-named [configuration - settings](mkws-manual.html#configuration-settings) described in - the user's manual. +* `Void team.newSearch(widget, query, sortOrder, maxrecs, perpage, limit, targets, targetfilter)` -- + Starts a new search with the specified parameters, taking + settings from the nominated widget's configuration when not + specified explicitly. All but the query may be omitted. The + meanings of the parameters are those of the same-named + [configuration + settings](mkws-manual.html#configuration-settings) described + in the user's manual. * `Void team.reShow()` -- Using the existing search, re-shows the result records after a -- 1.7.10.4