Merge branch 'temp8' into temp8-3469-listview-publish

This commit is contained in:
Robert
2018-11-06 09:57:38 +01:00
29 changed files with 705 additions and 842 deletions

View File

@@ -113,7 +113,8 @@ namespace Umbraco.Web.UI.Umbraco.Dialogs
private IEnumerable<IContentType> RemoveInvalidByChildrenDocumentTypesFromAlternatives(IEnumerable<IContentType> documentTypes)
{
var docTypeIdsOfChildren = _content.Children(Services.ContentService)
//fixme Should do proper paging here ... when this is refactored we will
var docTypeIdsOfChildren = Services.ContentService.GetPagedChildren(_content.Id, 0, int.MaxValue, out var total)
.Select(x => x.ContentType.Id)
.Distinct()
.ToList();