Fixed: Pushed releases should be stored as pushed release

This commit is contained in:
Mark McDowall 2023-03-22 17:24:37 -07:00
parent b8dcd75cf5
commit c41aec5f77
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ namespace NzbDrone.Core.DecisionEngine
public List<DownloadDecision> GetRssDecision(List<ReleaseInfo> reports, bool pushedRelease = false) public List<DownloadDecision> GetRssDecision(List<ReleaseInfo> reports, bool pushedRelease = false)
{ {
return GetDecisions(reports).ToList(); return GetDecisions(reports, pushedRelease).ToList();
} }
public List<DownloadDecision> GetSearchDecision(List<ReleaseInfo> reports, SearchCriteriaBase searchCriteriaBase) public List<DownloadDecision> GetSearchDecision(List<ReleaseInfo> reports, SearchCriteriaBase searchCriteriaBase)
@ -55,7 +55,7 @@ namespace NzbDrone.Core.DecisionEngine
return GetDecisions(reports, false, searchCriteriaBase).ToList(); return GetDecisions(reports, false, searchCriteriaBase).ToList();
} }
private IEnumerable<DownloadDecision> GetDecisions(List<ReleaseInfo> reports, bool pushedRelease = false, SearchCriteriaBase searchCriteria = null) private IEnumerable<DownloadDecision> GetDecisions(List<ReleaseInfo> reports, bool pushedRelease, SearchCriteriaBase searchCriteria = null)
{ {
if (reports.Any()) if (reports.Any())
{ {