mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 13:57:06 -04:00
Fixed sort in HistoryRepository
This commit is contained in:
parent
b5e734b9e5
commit
f0ca636654
1 changed files with 1 additions and 3 deletions
|
@ -65,9 +65,7 @@ namespace NzbDrone.Core.History
|
|||
query.AndWhere(h => h.EventType == eventType);
|
||||
}
|
||||
|
||||
query.OrderByDescending(h => h.Date);
|
||||
|
||||
return query;
|
||||
return query.OrderByDescending(h => h.Date).ToList();
|
||||
}
|
||||
|
||||
public List<History> GetBySeason(int seriesId, int seasonNumber, HistoryEventType? eventType)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue