Changes for page Database Search

Last modified by Florent Charton on 2024/08/08 18:44

From version 1.1
edited by superadmin
on 2022/06/20 08:49
Change comment: Install extension [org.xwiki.platform:xwiki-platform-search-ui/13.10.6]
To version 2.1
edited by Florent Charton
on 2024/08/08 18:44
Change comment: Install extension [org.xwiki.platform:xwiki-platform-search-ui/15.10.11]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +xwiki:XWiki.fcharton
Content
... ... @@ -82,8 +82,8 @@
82 82   #set ($discard = $feed.setDescription($services.localization.render('search.rss', [$text])))
83 83   #set ($discard = $feed.setLanguage("$xcontext.locale"))
84 84   #set ($discard = $feed.setCopyright($xwiki.getXWikiPreference('copyright')))
85 - #set ($discard = $response.setContentType('application/rss+xml'))
86 - {{{$xwiki.feed.getFeedOutput($feed, $xwiki.getXWikiPreference('feed_type', 'rss_2.0'))}}}
85 + #set ($feedOutput = $xwiki.feed.getFeedOutput($feed, $xwiki.getXWikiPreference('feed_type', 'rss_2.0')))
86 + #rawResponse($feedOutput, 'application/rss+xml')
87 87   #else
88 88   {{include reference="XWiki.Results"/}}
89 89