update DisplayParent

This commit is contained in:
Luke Pulverenti
2016-04-09 00:16:53 -04:00
parent a95cbac076
commit 2ec515027f
11 changed files with 67 additions and 350 deletions

View File

@@ -1149,10 +1149,10 @@ namespace MediaBrowser.Server.Implementations.Dto
if (fields.Contains(ItemFields.ParentId))
{
var displayParent = item.DisplayParent;
if (displayParent != null)
var displayParentId = item.DisplayParentId;
if (displayParentId.HasValue)
{
dto.ParentId = GetDtoId(displayParent);
dto.ParentId = displayParentId.Value.ToString("N");
}
}