Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2680652
D25673.1734603530.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1017 B
Referenced Files
None
Subscribers
None
D25673.1734603530.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25673: Fix error in Mercurial when no offset is specified
Attached
Detach File
Event Timeline
Log In to Comment