mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-25 11:36:35 +00:00
if HasQueryLimit is false then set start and limit to null so it includes all results
This commit is contained in:
@@ -304,8 +304,11 @@ namespace MediaBrowser.Api.Reports
|
||||
}
|
||||
}
|
||||
|
||||
if (request.HasQueryLimit)
|
||||
query.Limit = request.Limit;
|
||||
if (request.HasQueryLimit == false)
|
||||
{
|
||||
query.StartIndex = null;
|
||||
query.Limit = null;
|
||||
}
|
||||
|
||||
return query;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user