From 9c5cceb4ecc277ffb5a3a988f655ad674bf41c58 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 14 Aug 2014 09:24:30 -0400 Subject: update translations --- MediaBrowser.Api/UserLibrary/UserLibraryService.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'MediaBrowser.Api/UserLibrary/UserLibraryService.cs') 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)) { -- cgit v1.2.3