Page MenuHomePhorge

D25673.1734603530.diff
No OneTemporary

D25673.1734603530.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, 10:18 (9 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015037
Default Alt Text
D25673.1734603530.diff (1017 B)

Event Timeline