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