mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
update querying
This commit is contained in:
parent
d9f062f5aa
commit
004960476f
@ -1320,7 +1320,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
{
|
||||
var parents = parentIds.Select(i => GetItemById(new Guid(i))).ToList();
|
||||
|
||||
query.AncestorIds = parents.SelectMany(i => i.GetIdsForAncestorQuery()).Select(i => i.ToString("N")).ToArray();
|
||||
query.TopParentIds = parents.SelectMany(GetTopParentsForQuery).Select(i => i.Id.ToString("N")).ToArray();
|
||||
|
||||
return GetItemIds(query).Select(GetItemById);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user