Skip to content

Commit 924995d

Browse files
authored
Merge pull request mesilov#125 from xUJYx/master
* "Status" class: "getList" function: added $OFFSET parameter
2 parents 83ba81e + e97268d commit 924995d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/classes/crm/status/status.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,14 @@ public function get($id)
230230
* @throws \Bitrix24\Exceptions\Bitrix24EmptyResponseException
231231
* @throws \Bitrix24\Exceptions\Bitrix24ApiException
232232
*/
233-
public function getList($order, $filter)
233+
public function getList($order, $filter, $offset = 0)
234234
{
235235
$fullResult = $this->client->call(
236236
'crm.status.list',
237237
[
238238
'order' => $order,
239-
'filter' => $filter
239+
'filter' => $filter,
240+
'start' => $offset
240241
]
241242
);
242243
return $fullResult;

0 commit comments

Comments
 (0)