Hello,
I see. Search results are quite specific in this context. The
GetSearchValue method is being resolved too late in the control live cycle. Therefore you'll need to amend the Rating control to reload it again.
Please open the control here:
~\CMSAdminControls\ContentRating\RatingControl.ascx.csAnd please find the
ExternalValue definition and add
ReloadData() method to the
set branch:
/// <summary>
/// Gets or sets current value. If value is negative number then document
/// rating is used.
/// </summary>
public string ExternalValue
{
get
{
return mExternalValue.ToString();
}
set
{
mExternalValue = ValidationHelper.GetDouble(value, -1.0);
ReloadData();
}
}
Now it should work as expected even in the search results.
Best regards
Ondrej Vasil