fixes #715 - Support creating/editing collections (boxsets) in web client #715

This commit is contained in:
Luke Pulverenti
2014-03-07 13:48:55 -05:00
parent e00985d07c
commit 546acf0ebb
11 changed files with 184 additions and 20 deletions

View File

@@ -745,9 +745,9 @@ namespace MediaBrowser.Controller.Entities
var list = new List<BaseItem>();
AddChildrenToList(user, includeLinkedChildren, list, false, null);
var hasLinkedChildren = AddChildrenToList(user, includeLinkedChildren, list, false, null);
return list;
return hasLinkedChildren ? list.DistinctBy(i => i.Id).ToList() : list;
}
/// <summary>