-
Bug
-
Resolution: Won't Fix
-
Major
-
3.7.2
-
None
In the search service pipeline (sitemap-front.xmap, line 280), some parameters are not read like page-with-search and search-mode, it causes problems when we directly read the parameters in the XML.
<!-- + | FRONT Search service + --> <map:match pattern="service/search.html"> <map:generate type="front-search"> <map:parameter name="offset" value="{parent-context-attr:offset}"/> <map:parameter name="advanced-search" value="{parent-context-attr:advanced-search}"/> <map:parameter name="search-by-content-types" value="{parent-context-attr:search-by-content-types}"/> <map:parameter name="search-by-content-types-choice" value="{parent-context-attr:search-by-content-types-choice}"/> <map:parameter name="search-by-tags" value="{parent-context-attr:search-by-tags}"/> <map:parameter name="strict-search-on-tags" value="{parent-context-attr:strict-search-on-tags}"/> <map:parameter name="search-by-pages" value="{parent-context-attr:search-by-pages}"/> <map:parameter name="search-multisite" value="{parent-context-attr:search-multisite}"/> <map:parameter name="service-group-id" value="{parent-context-attr:service-group-id}"/> <map:parameter name="startDate" value="{parent-context-attr:search-by-common-date-begin}"/> <map:parameter name="endDate" value="{parent-context-attr:search-by-common-date-end}"/> </map:generate> <map:transform type="i18n" label="xml"> <map:parameter name="locale" value="{request-attr:sitemapLanguage}"/> </map:transform> <map:transform src="service://@xslt" type="xslt"/> <map:transform type="i18n"> <map:parameter name="locale" value="{request-attr:sitemapLanguage}"/> <map:parameter name="plugin" value="{request-attr:pluginName}"/> </map:transform> <map:serialize type="xhtml"/> </map:match>