ソースを参照

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

Shaun 9 年 前
コミット
cb751893a8
1 ファイル変更5 行追加2 行削除
  1. 5 2
      MediaBrowser.Api/Reports/ReportsService.cs

+ 5 - 2
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;
         }