aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/UserView.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-11-11 09:56:31 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-11-11 09:56:31 -0500
commitcc19ce0daf3edb46d1acffdf2af98787cc9f7f5a (patch)
tree03055ae936c198e1ab85ca76c869fa39c96971c9 /MediaBrowser.Controller/Entities/UserView.cs
parentdb8e51edb63b05c79d51134157e94a5cab9951a2 (diff)
added new parent methods
Diffstat (limited to 'MediaBrowser.Controller/Entities/UserView.cs')
-rw-r--r--MediaBrowser.Controller/Entities/UserView.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/UserView.cs b/MediaBrowser.Controller/Entities/UserView.cs
index 940e99f12..f14ba568b 100644
--- a/MediaBrowser.Controller/Entities/UserView.cs
+++ b/MediaBrowser.Controller/Entities/UserView.cs
@@ -38,6 +38,10 @@ namespace MediaBrowser.Controller.Entities
{
list.Add(ParentId);
}
+ else
+ {
+ list.Add(Id);
+ }
return list;
}
@@ -125,10 +129,14 @@ namespace MediaBrowser.Controller.Entities
{
var standaloneTypes = new List<string>
{
- CollectionType.Playlists,
- CollectionType.BoxSets
+ CollectionType.Playlists
};
+ if (!ConfigurationManager.Configuration.EnableSharedCollectionViewImage)
+ {
+ standaloneTypes.Add(CollectionType.BoxSets);
+ }
+
var collectionFolder = folder as ICollectionFolder;
if (collectionFolder == null)