The
maxresult
parameter for directSearch does not seem to have any effect. For any value, it still returns only the default number of 12 results. Oddly, even after modifying the directSearch script to:
var MAX_RESULTS = %IF{"defined maxresults" then="%URLPARAM{"maxresults" default="%maxresults%"}%" else="20"}%;
...it only returns 12 results when it's called with:
%INCLUDE{"%MAINWEB%.PersonalInfo" section="directSearch" title="*Telefoonnummer zoeken:*" maxresults=20}%
--
TWiki:Main/JosMaccabiani
- 27 May 2007
The saved javascript file knows nothing of the INCLUDE parameter. Fixed by adding one line of javascript outside the file.
--
TWiki:Main.ArthurClemens
- 02 Jun 2007