NextUp query respects Limit (#11956)

This commit is contained in:
cptn 2024-06-04 21:05:32 +08:00 committed by GitHub
parent d1c00ba4ed
commit 484aea1cdb
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;
int? limit = null;
int? limit = request.Limit;
if (!request.SeriesId.IsNullOrEmpty())
{
if (_libraryManager.GetItemById(request.SeriesId.Value) is Series series)