🔧 do not limit number of results for civicrm_api3 calls
This commit is contained in:
parent
cf04e1f934
commit
73714bf312
7 changed files with 25 additions and 7 deletions
|
@ -126,6 +126,9 @@ function civicrm_api3_twingle_campaign_Get(array $params): array {
|
|||
// Include campaign type ot TwingleCampaigns in $params
|
||||
$params['campaign_type_id'] = $twingle_campaign_campaign_type_id;
|
||||
|
||||
// Do not limit the number of results
|
||||
$params['options'] = ['limit' => 0];
|
||||
|
||||
// Get TwingleCampaign children campaigns of the TwingleProject
|
||||
$campaigns = civicrm_api3('Campaign',
|
||||
'get',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue