From 5b664afaf87cb6aa35137e8063e64686d5863632 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 14 May 2013 08:27:33 -0700 Subject: [PATCH] Fixed up DownloadClient settings in UI --- NzbDrone.Core/History/HistoryService.cs | 2 +- .../DownloadClientTemplate.html | 22 +------------------ 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/NzbDrone.Core/History/HistoryService.cs b/NzbDrone.Core/History/HistoryService.cs index d7a4c7f8a..d1200780c 100644 --- a/NzbDrone.Core/History/HistoryService.cs +++ b/NzbDrone.Core/History/HistoryService.cs @@ -51,7 +51,7 @@ namespace NzbDrone.Core.History public virtual QualityModel GetBestQualityInHistory(int episodeId) { - return _historyRepository.GetBestQualityInHistory(episodeId).OrderByDescending(q => q).FirstOrDefault(); + return _historyRepository.GetEpisodeHistory(episodeId).OrderByDescending(q => q).FirstOrDefault(); } public void Handle(EpisodeGrabbedEvent message) diff --git a/UI/Settings/DownloadClient/DownloadClientTemplate.html b/UI/Settings/DownloadClient/DownloadClientTemplate.html index b034f751f..a0105509d 100644 --- a/UI/Settings/DownloadClient/DownloadClientTemplate.html +++ b/UI/Settings/DownloadClient/DownloadClientTemplate.html @@ -20,32 +20,12 @@
- +
- -
- - -
- - - - - -
-