mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
EpisodeGrid sorting is done in the controller instead of the View, because it actually works...
This commit is contained in:
parent
ceec420035
commit
b9e9bb06a4
2 changed files with 2 additions and 8 deletions
|
@ -93,7 +93,7 @@ namespace NzbDrone.Web.Controllers
|
|||
{
|
||||
using (MiniProfiler.StepStatic("Controller"))
|
||||
{
|
||||
var episodes = GetEpisodeModels(_episodeProvider.GetEpisodesBySeason(seriesId, seasonNumber));
|
||||
var episodes = GetEpisodeModels(_episodeProvider.GetEpisodesBySeason(seriesId, seasonNumber)).OrderByDescending(e => e.EpisodeNumber);
|
||||
return View(new GridModel(episodes));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue