Cleanup IPublishedContent

This commit is contained in:
Stephan
2018-04-28 16:34:43 +02:00
parent 27390afe86
commit ce8775b3e7
30 changed files with 855 additions and 540 deletions

View File

@@ -90,7 +90,7 @@ namespace Umbraco.Web.Editors
{
timer.Start();
pointerNode = pointerNode.FirstChild(x => x.DocumentTypeAlias == contentTypeAlias);
pointerNode = pointerNode.FirstChild(x => x.ContentType.Alias == contentTypeAlias);
if (pointerNode == null) break;
@@ -277,7 +277,7 @@ namespace Umbraco.Web.Editors
if (targetNode == null || targetNode.Id == current.Id) return aliases;
if (targetNode.Id != current.Id)
{
aliases.Add(targetNode.DocumentTypeAlias);
aliases.Add(targetNode.ContentType.Alias);
}