aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/UserLibraryService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/UserLibraryService.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
index de2801dcc..d746d47ff 100644
--- a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
+++ b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
@@ -318,11 +318,12 @@ namespace MediaBrowser.Api.UserLibrary
.OrderByDescending(i => i.DateCreated)
.Where(i => i.LocationType != LocationType.Virtual);
- if (request.IsFolder.HasValue)
- {
- var val = request.IsFolder.Value;
- libraryItems = libraryItems.Where(f => f.IsFolder == val);
- }
+
+ //if (request.IsFolder.HasValue)
+ //{
+ //var val = request.IsFolder.Value;
+ libraryItems = libraryItems.Where(f => f.IsFolder == false);
+ //}
if (!string.IsNullOrEmpty(request.IncludeItemTypes))
{