diff --git a/src/NzbDrone.Core/Books/Services/BookCutoffService.cs b/src/NzbDrone.Core/Books/Services/BookCutoffService.cs index f61323cbd..302b41a98 100644 --- a/src/NzbDrone.Core/Books/Services/BookCutoffService.cs +++ b/src/NzbDrone.Core/Books/Services/BookCutoffService.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using System.Linq; +using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore; using NzbDrone.Core.Profiles.Qualities; using NzbDrone.Core.Qualities; @@ -39,6 +40,13 @@ public PagingSpec BooksWhereCutoffUnmet(PagingSpec pagingSpec) } } + if (qualitiesBelowCutoff.Empty()) + { + pagingSpec.Records = new List(); + + return pagingSpec; + } + return _bookRepository.BooksWhereCutoffUnmet(pagingSpec, qualitiesBelowCutoff); } }