Item12753: WebSearch does not pass topic parameter
Priority: Low
Current State: Closed
Released In: 2.0.0
Target Release: major
WebSearch currently ignores the topic parameter.
E.g., this URL currently does not perform the requested search, but produces the
WebHome instead:
http://foswiki.org/System/WebSearch?search=foswiki&topic=Web*
This patch fixes it for me:
@@ -255,6 +255,7 @@
order="%URLPARAM{"order" encode="quote"}%"
reverse="%URLPARAM{"reverse" encode="quote"}%"
pager="on"
+ topic="%URLPARAM{"topic" encode="quote"}%"
limit="%URLPARAM{"limit" encode="quote" default="%DEFAULTPAGESIZE%"}%"
pagesize="%DEFAULTPAGESIZE%"
zeroresults="%IF{
Closely resembles
http://foswiki.org/Tasks/Item1713
--
AppsupportApa - 20 Feb 2014
The topic= parameter is reserved at the script level. All scripts accept
topic=[web.]topic
as an override to the
Web/Topic
extracted from the URL Path.
Implementing this as parameter
searchtopic
--
GeorgeClark - 30 Dec 2014