fixes repository mapping the GUID id for redirect urls and removes unused properties
This commit is contained in:
@@ -117,6 +117,7 @@ JOIN umbracoNode ON umbracoRedirectUrl.contentKey=umbracoNode.uniqueID");
|
||||
try
|
||||
{
|
||||
url.DisableChangeTracking();
|
||||
url.Key = dto.Id;
|
||||
url.Id = dto.Id.GetHashCode();
|
||||
url.ContentId = dto.ContentId;
|
||||
url.ContentKey = dto.ContentKey;
|
||||
|
||||
@@ -9,13 +9,7 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
{
|
||||
[DataMember(Name = "searchResults")]
|
||||
public IEnumerable<ContentRedirectUrl> SearchResults { get; set; }
|
||||
|
||||
[DataMember(Name = "hasSearchResults")]
|
||||
public bool HasSearchResults { get; set; }
|
||||
|
||||
[DataMember(Name = "hasExactMatch")]
|
||||
public bool HasExactMatch { get; set; }
|
||||
|
||||
|
||||
[DataMember(Name = "totalCount")]
|
||||
public long TotalCount { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user