Changes for page Solr Search Macros
Last modified by Administrator on 2025/09/06 09:59
From version
6.1

edited by Administrator
on 2025/09/06 09:59
on 2025/09/06 09:59
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/16.10.11]
To version
4.1


edited by Administrator
on 2024/02/03 10:14
on 2024/02/03 10:14
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/15.10.5]
Summary
Details
- Page properties
-
- Content
-
... ... @@ -798,7 +798,10 @@ 798 798 #end 799 799 ## 800 800 ## Pagination 801 - #getAndValidateQueryLimitFromRequest('rows', 10, $rows) 801 + #set ($rows = $numbertool.toNumber($request.rows).intValue()) 802 + #if ("$!rows" == '') 803 + #set ($rows = 10) 804 + #end 802 802 #set ($start = $numbertool.toNumber($request.firstIndex).intValue()) 803 803 #if ("$!start" == '') 804 804 #set ($start = 0) ... ... @@ -910,7 +910,8 @@ 910 910 ## 911 911 ## Output the feed. 912 912 ## 913 - #rawResponse($xwiki.feed.getFeedOutput($feed, 'rss_2.0'), 'application/rss+xml') 916 + #set ($discard = $response.setContentType('application/rss+xml')) 917 + $xwiki.feed.getFeedOutput($feed, 'rss_2.0') 914 914 #end 915 915 916 916 #macro (handleSolrSearchRequest)