diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-16 18:05:47 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-16 18:05:47 -0400 |
| commit | ced548d824cbc8f50a211f1b34734221dad947ff (patch) | |
| tree | 04408db42dc7ee5ae6cef963f6a2038ec9799fea /MediaBrowser.Api/UserLibrary/ItemsService.cs | |
| parent | 0b61c31e0fef52c7c4d77afcca28e0e621c0e0ce (diff) | |
tweaks for the a-z picker
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemsService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/ItemsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.cs index df41726b2..4ff60ce72 100644 --- a/MediaBrowser.Api/UserLibrary/ItemsService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs @@ -456,7 +456,7 @@ namespace MediaBrowser.Api.UserLibrary if (!string.IsNullOrEmpty(request.NameStartsWith)) { - items = items.Where(i => i.Name.IndexOf(request.NameStartsWith, StringComparison.OrdinalIgnoreCase) == 0); + items = items.Where(i => i.SortName.IndexOf(request.NameStartsWith, StringComparison.OrdinalIgnoreCase) == 0); } // Filter by Series Status |
