diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-04 12:15:44 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-04 12:15:44 -0400 |
| commit | 0d72696bf49dde9bd5b810fde17964c6e4afc82c (patch) | |
| tree | fecbc5ca32d63e4bd30b61ac68e77a2431faf4b9 /MediaBrowser.Server.Implementations/Collections/CollectionManager.cs | |
| parent | 3640f620863e4947a07ad6ebbf54ab6427534b38 (diff) | |
restored people editing
Diffstat (limited to 'MediaBrowser.Server.Implementations/Collections/CollectionManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Collections/CollectionManager.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Collections/CollectionManager.cs b/MediaBrowser.Server.Implementations/Collections/CollectionManager.cs index adcf3edba..a69f9e94b 100644 --- a/MediaBrowser.Server.Implementations/Collections/CollectionManager.cs +++ b/MediaBrowser.Server.Implementations/Collections/CollectionManager.cs @@ -10,6 +10,7 @@ using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; +using MoreLinq; namespace MediaBrowser.Server.Implementations.Collections { @@ -255,7 +256,10 @@ namespace MediaBrowser.Server.Implementations.Collections } } - return list.Except(itemsToCollapse.Cast<BaseItem>()).Concat(boxsets).Distinct(); + return list + .Except(itemsToCollapse.Cast<BaseItem>()) + .Concat(boxsets) + .DistinctBy(i => i.Id); } } } |
