Created
June 7, 2023 05:20
-
-
Save thaitranet/ca90a429a699411747a316238f1e86b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- | |
Purpose: This include file enables and configures the Search feature. | |
This feature contains a large set of search renderings that enable users to build complex search pages. | |
To disable this file, change its extension to ".disabled". | |
--> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<services> | |
<register patch:instead="*[@serviceType='Sitecore.XA.Feature.Search.Controllers.SearchController, Sitecore.XA.Feature.Search']" serviceType="Platform.Controllers.XASearchOverrideController, Platform" implementationType="Platform.Controllers.XASearchOverrideController, Platform" lifetime="Transient"/> | |
</services> | |
<pipelines> | |
<initialize> | |
<processor patch:instead="processor[@type='Sitecore.XA.Feature.Search.Pipelines.Initialize.InitializeRouting, Sitecore.XA.Feature.Search']" | |
type="Platform.Pipelines.RegisterRoutes, Platform" /> | |
</initialize> | |
</pipelines> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment