🔧 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

@ -108,7 +108,9 @@ function civicrm_api3_twingle_event_Get(array $params): array {
$custom_field_mapping_reverse = array_flip($custom_field_mapping);
$params['campaign_type_id'] = 'twingle_event';
$query = [];
// Do not limit the number of results
$query = ['options' => ['limit' => 0]];
foreach ($params as $key => $value) {
if ( $key != 'id' &&