mirror of https://github.com/Sonarr/Sonarr
Fixed sort in HistoryRepository
This commit is contained in:
parent
b5e734b9e5
commit
f0ca636654
|
@ -65,9 +65,7 @@ namespace NzbDrone.Core.History
|
||||||
query.AndWhere(h => h.EventType == eventType);
|
query.AndWhere(h => h.EventType == eventType);
|
||||||
}
|
}
|
||||||
|
|
||||||
query.OrderByDescending(h => h.Date);
|
return query.OrderByDescending(h => h.Date).ToList();
|
||||||
|
|
||||||
return query;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<History> GetBySeason(int seriesId, int seasonNumber, HistoryEventType? eventType)
|
public List<History> GetBySeason(int seriesId, int seasonNumber, HistoryEventType? eventType)
|
||||||
|
|
Loading…
Reference in New Issue