• 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.

Item6217: Spelling Error in TWikiPreference: SEARCHDEFAULTTTYPE = keyword

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension   Normal Closed   patch 4.3.0

Edit Form Data

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

Detail

SEARCHDEFAULTTYPE, not SEARCHDEFAULTTTYPE.

And even if I corrected the spelling, it didn't work. After I change that setting to regex, in WebSearch Page, it still uses keyword search.

-- TWiki:Main/FengZhaolin - 18 Mar 2009

Thanks Feng for reporting this. I fixed it in trunk and 4.3 branch. Besides fixing typo to SEARCHDEFAULTTYPE, you need to set this in WebSearch:

type="%URLPARAM{"type" encode="quote" default="%SEARCHDEFAULTTYPE%"}%" 
And this in WebSearchAdvanced:
type="%IF{" '%URLPARAM{"regex" encode="entity"}%' = 'on' or '%URLPARAM{"type" encode="entity"}%' = 'regex'" then="regex" else="%SEARCHDEFAULTTYPE%"}%"

-- TWiki:Main.PeterThoeny - 23 Mar 2009

ItemTemplate
Summary Spelling Error in TWikiPreference: SEARCHDEFAULTTTYPE = keyword
ReportedBy TWiki:Main.FengZhaolin
Codebase

SVN Range TWiki-5.0.0, Mon, 23 Feb 2009, build 17838
AppliesTo Extension
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17888 TWikirev:17889 TWikirev:17890 TWikirev:17891
TargetRelease patch
ReleasedIn 4.3.0
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2009-05-03 - PeterThoeny
 
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