• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4149: maxresults parameter does not have an effect

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension PersonalInfoAddOn Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary maxresults parameter does not have an effect
ReportedBy TWiki:Main.JosMaccabiani
Codebase 4.1.1
SVN Range 13322
AppliesTo Extension
Component PersonalInfoAddOn
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:14015
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-06-02 - TWikiUserMapping_ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback