From 717f8c9944eabe9511cdd78aefbf5e85306cf50c Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Sun, 21 Apr 2019 21:00:34 +0200 Subject: [PATCH] Fix mapping for search results --- src/Umbraco.Web/Models/Mapping/EntityMapDefinition.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Models/Mapping/EntityMapDefinition.cs b/src/Umbraco.Web/Models/Mapping/EntityMapDefinition.cs index 78c25ced33..94698f84bd 100644 --- a/src/Umbraco.Web/Models/Mapping/EntityMapDefinition.cs +++ b/src/Umbraco.Web/Models/Mapping/EntityMapDefinition.cs @@ -24,7 +24,7 @@ namespace Umbraco.Web.Models.Mapping mapper.Define((source, context) => new EntityBasic(), Map); mapper.Define((source, context) => new ContentTypeSort(), Map); mapper.Define((source, context) => new EntityBasic(), Map); - mapper.Define((source, context) => new SearchResultEntity(), Map); + mapper.Define((source, context) => new SearchResultEntity(), Map); mapper.Define((source, context) => new SearchResultEntity(), Map); mapper.Define>((source, context) => context.MapEnumerable(source)); mapper.Define, IEnumerable>((source, context) => context.MapEnumerable(source));