mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-15 21:06:20 -04:00
Renamed HistoryRepo GetBestInHistory
This commit is contained in:
@@ -12,7 +12,7 @@ namespace NzbDrone.Core.History
|
||||
public interface IHistoryRepository : IBasicRepository<History>
|
||||
{
|
||||
void Trim();
|
||||
List<QualityModel> GetBestQualityInHistory(int episodeId);
|
||||
List<QualityModel> GetEpisodeHistory(int episodeId);
|
||||
PagingSpec<History> Paged(PagingSpec<History> pagingSpec);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace NzbDrone.Core.History
|
||||
Delete(c=> c.Date < cutoff);
|
||||
}
|
||||
|
||||
public List<QualityModel> GetBestQualityInHistory(int episodeId)
|
||||
public List<QualityModel> GetEpisodeHistory(int episodeId)
|
||||
{
|
||||
var history = Query.Where(c => c.EpisodeId == episodeId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user