if HasQueryLimit is false then set start and limit to null so it includes all results

This commit is contained in:
Shaun 2016-01-07 18:38:40 +11:00
parent 0c6edf9773
commit cb751893a8

View file

@ -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;
}