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