Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 82bffda

Browse files
authoredMay 8, 2023
Merge pull request #81 from MgHtinLynn/add-pipeLineId-into-deals-summary
Add pipeline_id into deals summary API
2 parents a9fcb59 + 9ca112a commit 82bffda

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
 

‎src/Controllers/DealsController.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,11 @@ public function getDealsSummary(
261261

262262
//process optional query parameters
263263
APIHelper::appendUrlWithQueryParameters($_queryBuilder, array (
264-
'status' => $this->val($options, 'status'),
265-
'filter_id' => $this->val($options, 'filterId'),
266-
'user_id' => $this->val($options, 'userId'),
267-
'stage_id' => $this->val($options, 'stageId'),
264+
'status' => $this->val($options, 'status'),
265+
'filter_id' => $this->val($options, 'filterId'),
266+
'user_id' => $this->val($options, 'userId'),
267+
'stage_id' => $this->val($options, 'stageId'),
268+
'pipeline_id' => $this->val($options, 'pipelineId'),
268269
));
269270

270271
//validate and preprocess url

‎tests/Controllers/DealsControllerTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ public function testTestGetDealsSummary()
217217
$input['filterId'] = null;
218218
$input['userId'] = null;
219219
$input['stageId'] = null;
220+
$input['pipelineId'] = null;
220221

221222
// Set callback and perform API call
222223
$result = null;

0 commit comments

Comments
 (0)
Please sign in to comment.