mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed history again.
This commit is contained in:
parent
fa5b6bf9cc
commit
120a75ed8e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ namespace NzbDrone.Core.Providers
|
||||||
|
|
||||||
public virtual Quality GetBestQualityInHistory(long episodeId)
|
public virtual Quality GetBestQualityInHistory(long episodeId)
|
||||||
{
|
{
|
||||||
var history = AllItems().Where(c => c.EpisodeId == episodeId).Select(d => new Quality(d.Quality, d.IsProper)).OrderBy(c => c);
|
var history = AllItems().Where(c => c.EpisodeId == episodeId).ToList().Select(d => new Quality(d.Quality, d.IsProper)).OrderBy(c => c);
|
||||||
|
|
||||||
return history.FirstOrDefault();
|
return history.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue