public class CustomUmbracoTreeSearcherFields : UmbracoTreeSearcherFields, IUmbracoTreeSearcherFields
{
public IEnumerable<string> GetBackOfficeFields()
{
return new List<string>(base.GetBackOfficeFields()) { "reference" };
}
}
Issue is I never see the GetBackOfficeFields function called, do I need to register it somewhere?
Modify searched fields in back office
Hi,
I'm wanting to adjust the searched fields in the backoffice to add a reference field. I've implemented code as per https://our.umbraco.com/Documentation/Extending/Backoffice-Search/ as follows:
Issue is I never see the GetBackOfficeFields function called, do I need to register it somewhere?
Thanks Andy
is working on a reply...