Using SortValue instead of API hack for history

Fixed jshint for series collection
This commit is contained in:
Mark McDowall
2013-12-13 08:20:48 -08:00
parent df055d191f
commit 4d6d477947
4 changed files with 5 additions and 9 deletions

View File

@@ -39,11 +39,6 @@ namespace NzbDrone.Api.History
pagingSpec.FilterExpression = h => h.EpisodeId == i;
}
if (pagingSpec.SortKey.Equals("series", StringComparison.InvariantCultureIgnoreCase))
{
pagingSpec.SortKey = "series.title";
}
return ApplyToPage(_historyService.Paged, pagingSpec);
}