Obviously it's not big issue, but sometime clients asking to limit search result while searching any Sitecore item from Content Tree.
we just need to change limit from setting to display search result.
So let's start
It's same as previously we did for limiting number of items for multi list field. from sitecore.config we need to change the value for setting for Search.ContentTreeSearch.MaxResults.
By default 25 results are listed when we search any items from content tree, and we can decrease the results list and also can increase.
<setting name="Search.ContentTreeSearch.MaxResults" value="25">
And if wanted to list all the searched result then set value as 0 (But suppose a scenario, if we have 1000+ items for searched item then it may take time or may impact to performance).
Let's take an example:
Please have a look
Sitecore config changes:
Sitecore Content Tree:
Have a Good Day!!!
No comments:
Post a Comment