Fixed: Order Upcoming by date and time

pull/6/head
markus101 11 years ago
parent 3d423f57f8
commit 9ee535328f

@ -51,7 +51,7 @@ namespace NzbDrone.Api.Calendar
var resources = ToListResource(() => _episodeService.EpisodesBetweenDates(start, end)) var resources = ToListResource(() => _episodeService.EpisodesBetweenDates(start, end))
.LoadSubtype(e => e.SeriesId, _seriesRepository); .LoadSubtype(e => e.SeriesId, _seriesRepository);
return resources.OrderBy(e => e.AirDate).ToList(); return resources.OrderBy(e => e.AirDateUtc).ToList();
} }
public void Handle(EpisodeGrabbedEvent message) public void Handle(EpisodeGrabbedEvent message)

Loading…
Cancel
Save