Fixed: Sorting on Series Title now ignores articles (a/an/the).

This commit is contained in:
Taloth Saldono
2014-06-21 00:29:12 +02:00
parent fd5e8a5166
commit 221a457f3a
11 changed files with 166 additions and 149 deletions

View File

@@ -36,7 +36,7 @@ namespace NzbDrone.Api.History
//This is a hack to deal with backgrid setting the sortKey to the column name instead of sortValue
if (pagingSpec.SortKey.Equals("series", StringComparison.InvariantCultureIgnoreCase))
{
pagingSpec.SortKey = "series.title";
pagingSpec.SortKey = "series.sortTitle";
}
if (pagingResource.FilterKey == "eventType")