pull/5808/head
cvium 4 years ago
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…
Cancel
Save