diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-03-24 17:02:52 -0400 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2016-03-24 17:02:52 -0400 |
| commit | 008d22887aebf3dc943c7fceed843a69565fe7a9 (patch) | |
| tree | 274df34ff5dc78669fb7f7c1a9bab3ef01697fa0 /MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs | |
| parent | 67b589ba3f796dabbc2dacccec9fe3e5562a2350 (diff) | |
| parent | 66d0815fc6308b9598f362901d4c51445e8208f9 (diff) | |
Merge pull request #1584 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs b/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs index 389b21ba7..873753a2b 100644 --- a/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs +++ b/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs @@ -18,12 +18,7 @@ namespace MediaBrowser.Server.Implementations.Sorting /// <returns>System.Int32.</returns> public int Compare(BaseItem x, BaseItem y) { - if (!x.EnableAlphaNumericSorting || !y.EnableAlphaNumericSorting) - { - return string.Compare(x.SortName, y.SortName, StringComparison.CurrentCultureIgnoreCase); - } - - return AlphanumComparator.CompareValues(x.SortName, y.SortName); + return string.Compare(x.SortName, y.SortName, StringComparison.CurrentCultureIgnoreCase); } /// <summary> |
