You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 14/umbraco-cms/extending/backoffice-search.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ An Umbraco implementation might have additional custom properties that it would
16
16
17
17
## Adding custom properties to backoffice search
18
18
19
-
To add custom properties, it is required to register a custom implementation of `IUmbracoTreeSearcherFields`. We recommend to override the existing `UmbracoTreeSearcherFields`.
19
+
To add custom properties you must register a custom implementation of `IUmbracoTreeSearcherFields`. We recommend overriding the existing `UmbracoTreeSearcherFields`.
20
20
21
-
Your custom implementation needs to be registered in the container. For example in the `Program.cs` file or in a composer, as an alternative.
21
+
Your custom implementation needs to be registered in the container, for example in the `Program.cs` file or in a composer, as an alternative.
22
22
23
23
```csharp
24
24
builder.CreateUmbracoBuilder()
@@ -51,7 +51,7 @@ public class BackofficeSearchComposer : IComposer
51
51
```
52
52
53
53
{% hint style="warning" %}
54
-
The below example is using `ILocalizationService` which is currently obselete and will be removed in v15. Use `ILanguageService` instead.
54
+
The below example is using `ILocalizationService` which is currently obsolete and will be removed in v15. Use `ILanguageService` instead.
55
55
{% endhint %}
56
56
57
57
```csharp
@@ -95,9 +95,9 @@ public class CustomUmbracoTreeSearcherFields : UmbracoTreeSearcherFields, IUmbra
95
95
```
96
96
97
97
{% hint style="warning" %}
98
-
You cannot use this to search on integer types in the index, as an example `parentID` does not work.
98
+
You cannot use this to search on integer types in the index, for example `parentID` does not work.
99
99
{% endhint %}
100
100
101
101
## More advanced extensions
102
102
103
-
For further extensibility of the Umbraco Backoffice search implementation check [ISearchableTree](../customizing/searchable-trees.md)
103
+
For further extensibility of the Umbraco Backoffice search implementation, check [ISearchableTree](../customizing/searchable-trees.md)
0 commit comments