mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
Backbone collection will not sort properly.... wtf
Sorting on the server now for calendar
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user