🐛 fix bug: cannot search for TwingleForm by twingle_project_id
This commit is contained in:
parent
6476a163fc
commit
51b19ac68d
2 changed files with 21 additions and 0 deletions
|
@ -12,6 +12,13 @@ use CRM_TwingleCampaign_ExtensionUtil as E;
|
|||
function _civicrm_api3_twingle_form_Getsingle_spec(array &$spec) {
|
||||
$spec['id'] = [
|
||||
'name' => 'id',
|
||||
'title' => E::ts('Campaign ID'),
|
||||
'type' => CRM_Utils_Type::T_INT,
|
||||
'api.required' => 0,
|
||||
'description' => E::ts('The campaign ID'),
|
||||
];
|
||||
$spec['twingle_project_id'] = [
|
||||
'name' => 'twingle_project_id',
|
||||
'title' => E::ts('TwingleProject ID'),
|
||||
'type' => CRM_Utils_Type::T_INT,
|
||||
'api.required' => 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue