Fixed: Pushed releases should be stored as pushed release
This commit is contained in:
parent
b8dcd75cf5
commit
c41aec5f77
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue