From 5e794f7ebc5b927b3084ebaf8e78485d5af8507b Mon Sep 17 00:00:00 2001 From: Richard Jackson Date: Thu, 17 Oct 2024 22:52:17 +0100 Subject: [PATCH] Update backoffice-search.md Minor typo corrections and grammatical suggestions. --- 14/umbraco-cms/extending/backoffice-search.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/14/umbraco-cms/extending/backoffice-search.md b/14/umbraco-cms/extending/backoffice-search.md index ff396b6f9e5..3ca73e3ffbc 100644 --- a/14/umbraco-cms/extending/backoffice-search.md +++ b/14/umbraco-cms/extending/backoffice-search.md @@ -16,9 +16,9 @@ An Umbraco implementation might have additional custom properties that it would ## Adding custom properties to backoffice search -To add custom properties, it is required to register a custom implementation of `IUmbracoTreeSearcherFields`. We recommend to override the existing `UmbracoTreeSearcherFields`. +To add custom properties you must register a custom implementation of `IUmbracoTreeSearcherFields`. We recommend overriding the existing `UmbracoTreeSearcherFields`. -Your custom implementation needs to be registered in the container. For example in the `Program.cs` file or in a composer, as an alternative. +Your custom implementation needs to be registered in the container, for example in the `Program.cs` file or in a composer, as an alternative. ```csharp builder.CreateUmbracoBuilder() @@ -51,7 +51,7 @@ public class BackofficeSearchComposer : IComposer ``` {% hint style="warning" %} -The below example is using `ILocalizationService` which is currently obselete and will be removed in v15. Use `ILanguageService` instead. +The below example is using `ILocalizationService` which is currently obsolete and will be removed in v15. Use `ILanguageService` instead. {% endhint %} ```csharp @@ -95,9 +95,9 @@ public class CustomUmbracoTreeSearcherFields : UmbracoTreeSearcherFields, IUmbra ``` {% hint style="warning" %} -You cannot use this to search on integer types in the index, as an example `parentID` does not work. +You cannot use this to search on integer types in the index, for example `parentID` does not work. {% endhint %} ## More advanced extensions -For further extensibility of the Umbraco Backoffice search implementation check [ISearchableTree](../customizing/searchable-trees.md) +For further extensibility of the Umbraco Backoffice search implementation, check [ISearchableTree](../customizing/searchable-trees.md)