mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
if HasQueryLimit is false then set start and limit to null so it includes all results
This commit is contained in:
parent
0c6edf9773
commit
cb751893a8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user