aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-21 00:47:32 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-21 00:47:32 -0500
commitaeb43e229ab0188ef911fc76b43b8fa34b3fcb7e (patch)
tree0ef0648d8f771ad001f199680f73a5aafe03516a /MediaBrowser.Api/Library/LibraryService.cs
parent2ceea17bf424cf1ac8608b79e57f1c0ac1c65e42 (diff)
updated nuget
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs
index 1a14646e1..c3fdbb9a0 100644
--- a/MediaBrowser.Api/Library/LibraryService.cs
+++ b/MediaBrowser.Api/Library/LibraryService.cs
@@ -258,7 +258,7 @@ namespace MediaBrowser.Api.Library
public object Get(GetMediaFolders request)
{
- var items = _libraryManager.GetUserRootFolder().Children.ToList();
+ var items = _libraryManager.GetUserRootFolder().Children.OrderBy(i => i.SortName).ToList();
// Get everything
var fields = Enum.GetNames(typeof(ItemFields))