From cb751893a802f7b144bd9ccab5357c9053b90d54 Mon Sep 17 00:00:00 2001 From: Shaun Date: Thu, 7 Jan 2016 18:38:40 +1100 Subject: [PATCH] if HasQueryLimit is false then set start and limit to null so it includes all results --- MediaBrowser.Api/Reports/ReportsService.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Api/Reports/ReportsService.cs b/MediaBrowser.Api/Reports/ReportsService.cs index cb15986f73..b8709a499e 100644 --- a/MediaBrowser.Api/Reports/ReportsService.cs +++ b/MediaBrowser.Api/Reports/ReportsService.cs @@ -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; }