We are using a customized search results widget and are not using the default code to do a search query and results that are comments to the main thread come back without the main thread title. The URL to the comment is being returned but not the title as comments do not have titles.
In order to debug this I have reverted to the default widget code and have noticed that comments to the main thread show the title of the main thread.
My question is:
1 - In our customized code we are using the same query.vm code and in our results we are doing the same iteration on the search results and can pull out the $searchResult.Url parameter but do not get anything for $searchResult.Title. How can we get the title from the search results?
Here is a snippet of the customized code:
<div class="mfcontent"> <h3><a href="$searchResult.Url" title="$searchResult.Title">$searchResult.Title</a></h3> ...
another mod
[edited by: chrisseamons at 6:45 PM (GMT 0) on Tue, Dec 14 2021]