Changes for page Database Search
Last modified by Florent Charton on 2025/07/04 23:28
From version 3.1
edited by Florent Charton
on 2025/07/04 23:28
on 2025/07/04 23:28
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-ui/16.10.9]
To version 1.1
edited by superadmin
on 2022/06/20 08:49
on 2022/06/20 08:49
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-ui/13.10.6]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.fcharton1 +XWiki.superadmin - Content
-
... ... @@ -63,10 +63,7 @@ 63 63 {{velocity}} 64 64 #set ($rssMode = $xcontext.action == 'get' || "$!request.xpage" == 'plain') 65 65 #if (!$rssMode) 66 - #set ($discard = $xwiki.linkx.use($services.webjars.url( 67 - 'org.xwiki.platform:xwiki-platform-search-webjar', 68 - 'search.min.css', 69 - {'evaluate': true}), {'type': 'text/css', 'rel': 'stylesheet'})) 66 + #set ($discard = $xwiki.ssfx.use('uicomponents/search/search.css', true)) 70 70 ## Disable the document extra data: comments, attachments, history... 71 71 #set ($displayDocExtra = false) 72 72 #databaseSearchForm ... ... @@ -85,8 +85,8 @@ 85 85 #set ($discard = $feed.setDescription($services.localization.render('search.rss', [$text]))) 86 86 #set ($discard = $feed.setLanguage("$xcontext.locale")) 87 87 #set ($discard = $feed.setCopyright($xwiki.getXWikiPreference('copyright'))) 88 - #set ($ feedOutput= $xwiki.feed.getFeedOutput($feed, $xwiki.getXWikiPreference('feed_type', 'rss_2.0')))89 - #rawResponse($feedOutput,'application/rss+xml')85 + #set ($discard = $response.setContentType('application/rss+xml')) 86 + {{{$xwiki.feed.getFeedOutput($feed, $xwiki.getXWikiPreference('feed_type', 'rss_2.0'))}}} 90 90 #else 91 91 {{include reference="XWiki.Results"/}} 92 92