aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-08-18 21:42:53 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-08-18 21:42:53 -0400
commitb48d15296c1708545f358dc0ccbc48fea9b2cf00 (patch)
treee1d13ad0810dd614a4b3f8da5e05cbc8f52fcb30 /MediaBrowser.Api/UserLibrary/UserLibraryService.cs
parent6a2f6782d32603593c669632d825f29fb43f3ea6 (diff)
support custom ordering of user views
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/UserLibraryService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/UserLibraryService.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
index 16ed0ee29..44b5b0e9b 100644
--- a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
+++ b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs
@@ -420,8 +420,7 @@ namespace MediaBrowser.Api.UserLibrary
var folders = await _userViewManager.GetUserViews(query, CancellationToken.None).ConfigureAwait(false);
- var dtos = folders.OrderBy(i => i.SortName)
- .Select(i => _dtoService.GetBaseItemDto(i, fields, user))
+ var dtos = folders.Select(i => _dtoService.GetBaseItemDto(i, fields, user))
.ToArray();
var result = new QueryResult<BaseItemDto>