Page MenuHomePhorge

D25673.1734613682.diff
No OneTemporary

D25673.1734613682.diff

diff --git a/src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php b/src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php
--- a/src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php
+++ b/src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php
@@ -24,7 +24,7 @@
'commit' => 'required string',
'against' => 'optional string',
'path' => 'required string',
- 'offset' => 'required int',
+ 'offset' => 'optional int',
'limit' => 'required int',
'needDirectChanges' => 'optional bool',
'needChildChanges' => 'optional bool',
@@ -109,7 +109,7 @@
$repository = $drequest->getRepository();
$commit_hash = $request->getValue('commit');
$path = $request->getValue('path');
- $offset = $request->getValue('offset');
+ $offset = $request->getValue('offset', 0);
$limit = $request->getValue('limit');
$path = DiffusionPathIDQuery::normalizePath($path);

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 13:08 (12 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015037
Default Alt Text
D25673.1734613682.diff (1017 B)

Event Timeline