When using the Search tab in the Content Editor to search for Sitecore items, the following issues might appear while displaying the search results.
When configuring the Multilist with Search fields to be displayed as part of the search results, raw values of such a field might be shown instead of the relevant item names:
For more information about configuring item fields to be displayed in the search results, check the following article:
Configure search results
Solution
To address the issue, apply the following patch:
In certain situations, the HTML layout of the search results might be broken.
This happens because the size of each record in the search results is internally limited to 250 characters. This causes excessive characters to be skipped, resulting in HTML tags not being closed, styles not being properly applied, and so on.
Search results that display the following field types are potentially affected by the issue:
Solution
To address the issue, proceed as follows:
(this.Content.length > 250 ? (this.Content.substring(0, 250) + "...") : this.Content)
(this.Content.length > 2000 ? (this.Content.substring(0, 2000) + "...") : this.Content)or disable the limit completely:
(this.Content)