projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b3a75
)
Make 'Pending' the default status for Contribution.repeattransaction as that is the...
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Sun, 31 May 2020 12:04:11 +0000
(13:04 +0100)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Sun, 31 May 2020 12:04:11 +0000
(13:04 +0100)
api/v3/Contribution.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Contribution.php
b/api/v3/Contribution.php
index 66f6cc0c93f2185124060467f4bc8f9c3432468e..859dbaed2ea223feaa6867e78b432ececd4207b3 100644
(file)
--- a/
api/v3/Contribution.php
+++ b/
api/v3/Contribution.php
@@
-709,6
+709,7
@@
function _civicrm_api3_contribution_repeattransaction_spec(&$params) {
'optionGroupName' => 'contribution_status',
],
'api.required' => TRUE,
+ 'api.default' => 'Pending',
];
$params['receive_date'] = [
'title' => 'Contribution Receive Date',