Merge remote-tracking branch 'MarcMichalsky/issue/61'
Fix broken API parameter structure for activity assignee EntityRef field on extension settings page
This commit is contained in:
commit
bae3461c19
1 changed files with 9 additions and 5 deletions
|
@ -90,12 +90,16 @@ class CRM_Twingle_Form_Settings extends CRM_Core_Form {
|
|||
);
|
||||
|
||||
$this->addEntityRef(
|
||||
'twingle_protect_recurring_activity_assignee',
|
||||
E::ts('Assigned To'),
|
||||
[
|
||||
'contact_type' => ['IN' => ['Individual', 'Organization']],
|
||||
'twingle_protect_recurring_activity_assignee',
|
||||
E::ts('Assigned To'),
|
||||
[
|
||||
'api' => [
|
||||
'params' => [
|
||||
'contact_type' => ['IN' => ['Individual', 'Organization']],
|
||||
'check_permissions' => 0,
|
||||
]
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
$this->addButtons(array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue