Leonardo Galli 8 years ago
parent 8b9d0f7b19
commit 6b106c1b38

@ -221,7 +221,7 @@ namespace NzbDrone.Core.Tv
pagingSpec = base.GetPaged(pagingSpec);
}
if (pagingSpec.Records.Count == 0 && pagingSpec.PageSize != 1)
if (pagingSpec.Records.Count == 0 && pagingSpec.Page != 1)
{
var lastPossiblePage = pagingSpec.TotalRecords / pagingSpec.PageSize + 1;
pagingSpec.Page = lastPossiblePage;

Loading…
Cancel
Save