oalberto
10/06/2023, 12:22 PMoalberto
10/10/2023, 4:44 AMMatt Brailsford (HQ)
10/10/2023, 7:06 AMsearchResultFormatter
. You can see the default one here https://github.com/umbraco/Umbraco-CMS/blob/6e154e0a0f63bb0f8c742f15c4f2c718b9515b16/src/Umbraco.Web.UI.Client/src/common/services/searchresultformatter.service.js#L4 You can write your own and register them with angular, then I believe the ISearchableTree
returns a TreeSearchResult
which has a JsFormatter
property which you can set to override the default search result formatter. https://github.com/umbraco/Umbraco-CMS/blob/6e154e0a0f63bb0f8c742f15c4f2c718b9515b16/src/Umbraco.Core/Models/ContentEditing/TreeSearchResult.cs#L21 I think it should be a case of giving the custom formatters name and angular will automatically resolve it. Hopefully that should be enough to get things working for you.Matt Brailsford (HQ)
10/10/2023, 7:13 AMoalberto
10/10/2023, 11:12 AMoalberto
10/10/2023, 4:01 PM