🔧 do not limit number of results for civicrm_api3 calls

This commit is contained in:
Marc Michalsky forumZFD 2021-03-19 19:54:03 +01:00
parent cf04e1f934
commit 73714bf312
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
7 changed files with 25 additions and 7 deletions

View file

@ -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',