mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-27 02:54:44 +00:00
Fixed: Cutoff Unmet showing items above lowest accepted quality when upgrades are disabled
Closes #1688
This commit is contained in:
@@ -31,7 +31,8 @@ namespace NzbDrone.Core.Books
|
||||
//Get all items less than the cutoff
|
||||
foreach (var profile in profiles)
|
||||
{
|
||||
var cutoffIndex = profile.GetIndex(profile.Cutoff);
|
||||
var cutoff = profile.UpgradeAllowed ? profile.Cutoff : profile.FirstAllowedQuality().Id;
|
||||
var cutoffIndex = profile.GetIndex(cutoff);
|
||||
var belowCutoff = profile.Items.Take(cutoffIndex.Index).ToList();
|
||||
|
||||
if (belowCutoff.Any())
|
||||
|
||||
Reference in New Issue
Block a user