mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Backbone collection will not sort properly.... wtf
Sorting on the server now for calendar
This commit is contained in:
parent
06c1055b0d
commit
18d7963ade
4 changed files with 21 additions and 7 deletions
|
@ -37,7 +37,7 @@ namespace NzbDrone.Api.Calendar
|
|||
var resources = ToListResource(() => _episodeService.EpisodesBetweenDates(start, end))
|
||||
.LoadSubtype(e => e.SeriesId, _seriesRepository);
|
||||
|
||||
return resources.ToList();
|
||||
return resources.OrderBy(e => e.AirDate).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue