"Soft Credit Only" Contribution export screen and exported data don't match
Overview
When Exporting Contributions from a search with the "Soft Credits Only" filter, the export screen shows the contributor information but the exported file shows the soft credited contact.
Reproduction steps
- Go to the "Find Contributions" search form (CiviCRM Admin menu -> Search -> Find Contributions)
- For the "Contributions OR Soft Credits?" field select "Soft Credits Only"
- Click Search
- Select All records
- Select the Action "export contributions"
- pick the "Select fields for Export" option and click "Continue"
- Add a "First Name" Field
- Click "Download File"
Current behaviour
The export screen shows the first name of the Contributor The export file shows the first name of the person who is soft credited
Expected behaviour
The export screen and exported file should display the same information. Because the filter is for "Soft Credit Only" I would expect they would both show the soft credit contact.
Environment information
I was able to recreate this on https://dmaster.demo.civicrm.org/
- __CiviCRM: 5.43.alpha1
- __CMS:drupal