mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-08-06 06:07:05 +02:00
Readd missing parent
This commit is contained in:
parent
b1d9f4cbfd
commit
f41ed6bae5
@ -667,6 +667,9 @@ namespace MediaBrowser.Controller.Entities
|
||||
Limit = 0,
|
||||
IsFolder = false,
|
||||
IsVirtualItem = false,
|
||||
Parent = this is not UserRootFolder
|
||||
&& this is not AggregateFolder
|
||||
? this : null,
|
||||
DtoOptions = new DtoOptions(false)
|
||||
{
|
||||
EnableImages = false,
|
||||
@ -1704,6 +1707,9 @@ namespace MediaBrowser.Controller.Entities
|
||||
EnableTotalRecordCount = true,
|
||||
Limit = 0,
|
||||
IsPlayed = false,
|
||||
Parent = this is not UserRootFolder
|
||||
&& this is not AggregateFolder
|
||||
? this : null
|
||||
});
|
||||
dto.UnplayedItemCount = unplayedQueryResult;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user