-
-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev/core#1285 import support for campaign_id (& other fields where it…
… could be an id, a name or a label. After digging into https://lab.civicrm.org/dev/core/issues/1285 it feels a little arguable what we should support but issues in gitlab indicate there is at least some demand for id & label so it now will - accept id if input matches an id - accept name if input matches a name - accept label if input matches a label. This means for payment instrument it would accept '1', 'Check' or 'Cheque' (in that order if name were renamed). This should apply to a few fields - payment instrument, constribution status & per the issue campaign (on contribution). There are 'some' on membership too I think
- Loading branch information
1 parent
d375fc0
commit 9ae10cd
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters