mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
fixes
This commit is contained in:
parent
723b6abcb3
commit
d44b2e2ee5
@ -341,12 +341,7 @@ namespace Emby.Server.Implementations.Collections
|
||||
|
||||
itemIsInBoxSet = true;
|
||||
|
||||
if (results.ContainsKey(boxSet.Id))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
results[boxSet.Id] = boxSet;
|
||||
results.TryAdd(boxSet.Id, boxSet);
|
||||
}
|
||||
|
||||
// skip any item that is in a box set
|
||||
@ -373,7 +368,7 @@ namespace Emby.Server.Implementations.Collections
|
||||
|
||||
if (!alreadyInResults)
|
||||
{
|
||||
results[item.Id] = item;
|
||||
results[itemId] = item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1436,7 +1436,12 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
if (i.ItemId.HasValue)
|
||||
{
|
||||
return i.ItemId.Value == itemId;
|
||||
if (i.ItemId.Value == itemId)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
var child = GetLinkedChild(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user