mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-07 07:34:42 -04:00
update latest items display
This commit is contained in:
parent
05ea65ede0
commit
a88327ab71
@ -272,6 +272,11 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||||||
.ToArray();
|
.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (parentIds.Length == 0)
|
||||||
|
{
|
||||||
|
return new List<BaseItem>();
|
||||||
|
}
|
||||||
|
|
||||||
var excludeItemTypes = includeItemTypes.Length == 0 ? new[]
|
var excludeItemTypes = includeItemTypes.Length == 0 ? new[]
|
||||||
{
|
{
|
||||||
typeof(Person).Name, typeof(Studio).Name, typeof(Year).Name, typeof(GameGenre).Name, typeof(MusicGenre).Name, typeof(Genre).Name
|
typeof(Person).Name, typeof(Studio).Name, typeof(Year).Name, typeof(GameGenre).Name, typeof(MusicGenre).Name, typeof(Genre).Name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user