Merge pull request #2686 from umbraco/temp8-w42

Fix new media not showing in published cache
This commit is contained in:
Robert
2018-06-14 14:17:26 +02:00
committed by GitHub

View File

@@ -141,7 +141,7 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
.OrderBy<NodeDto>(x => x.Level, x => x.SortOrder);
var dto = scope.Database.Fetch<ContentSourceDto>(sql).FirstOrDefault();
return dto == null ? new ContentNodeKit() : CreateContentNodeKit(dto);
return dto == null ? new ContentNodeKit() : CreateMediaNodeKit(dto);
}
public IEnumerable<ContentNodeKit> GetAllMediaSources(IScope scope)