mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fix collection content getting lost
This commit is contained in:
parent
361dedc314
commit
c401761f91
@ -47,11 +47,7 @@ namespace MediaBrowser.Providers.BoxSets
|
|||||||
|
|
||||||
if (mergeMetadataSettings)
|
if (mergeMetadataSettings)
|
||||||
{
|
{
|
||||||
var list = sourceItem.LinkedChildren.Where(i => i.Type != LinkedChildType.Manual).ToList();
|
targetItem.LinkedChildren = sourceItem.LinkedChildren;
|
||||||
|
|
||||||
list.AddRange(targetItem.LinkedChildren.Where(i => i.Type == LinkedChildType.Manual));
|
|
||||||
|
|
||||||
targetItem.LinkedChildren = list;
|
|
||||||
targetItem.Shares = sourceItem.Shares;
|
targetItem.Shares = sourceItem.Shares;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user