Revert "NextUp query respects Limit (#11956)" (#12414)

fix from PR #11956 leads to unexpected behaviour as
Fixes: #12367
This commit is contained in:
Fredrik Eriksson 2024-08-23 15:54:02 +02:00 committed by GitHub
parent 5027e3cd53
commit 9810d22d96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,7 @@ namespace Emby.Server.Implementations.TV
} }
string? presentationUniqueKey = null; string? presentationUniqueKey = null;
int? limit = request.Limit; int? limit = null;
if (!request.SeriesId.IsNullOrEmpty()) if (!request.SeriesId.IsNullOrEmpty())
{ {
if (_libraryManager.GetItemById(request.SeriesId.Value) is Series series) if (_libraryManager.GetItemById(request.SeriesId.Value) is Series series)