From 270e423accc15a4be28c2c6f809035dbc60e21f4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 16 May 2016 13:11:49 -0400 Subject: [PATCH] update dialogs --- MediaBrowser.Controller/Entities/UserViewBuilder.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Controller/Entities/UserViewBuilder.cs b/MediaBrowser.Controller/Entities/UserViewBuilder.cs index a4fe2e178..5ddd9d722 100644 --- a/MediaBrowser.Controller/Entities/UserViewBuilder.cs +++ b/MediaBrowser.Controller/Entities/UserViewBuilder.cs @@ -444,7 +444,10 @@ namespace MediaBrowser.Controller.Entities query.ParentId = parent.Id; query.SetUser(user); - query.IncludeItemTypes = new[] { typeof(Movie).Name, typeof(BoxSet).Name }; + if (query.IncludeItemTypes.Length == 0) + { + query.IncludeItemTypes = new[] { typeof(Movie).Name, typeof(BoxSet).Name }; + } return _libraryManager.GetItemsResult(query); } @@ -601,7 +604,10 @@ namespace MediaBrowser.Controller.Entities query.ParentId = parent.Id; query.SetUser(user); - query.IncludeItemTypes = new[] { typeof(Series).Name, typeof(Season).Name, typeof(Episode).Name }; + if (query.IncludeItemTypes.Length == 0) + { + query.IncludeItemTypes = new[] { typeof(Series).Name, typeof(Season).Name, typeof(Episode).Name }; + } return _libraryManager.GetItemsResult(query); }