mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
update DisplayParent
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user