Skip to content

Commit

Permalink
Merge pull request #25848 from eileenmcnaughton/559
Browse files Browse the repository at this point in the history
dev/core#4187 Fix errors when sorting by contributor name or receive date in the soft credit table
  • Loading branch information
seamuslee001 authored Mar 17, 2023
2 parents a470f36 + 5d9766e commit fd85d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Contribute/BAO/ContributionSoft.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,10 +391,10 @@ public static function getSoftContributionList($contact_id, ?int $membershipID =
// This is necessary for dataTables sorting.
$dataTableMapping = [
'sct_label' => 'soft_credit_type_id:label',
'contributor_name' => 'contact.sort_name',
'contributor_name' => 'contact_id.sort_name',
'financial_type' => 'contribution_id.financial_type_id:label',
'contribution_status' => 'contribution_id.contribution_status_id:label',
'receive_date' => 'contribution.receive_date',
'receive_date' => 'contribution_id.receive_date',
'pcp_title' => 'pcp_id.title',
'amount' => 'amount',
];
Expand Down

0 comments on commit fd85d1a

Please sign in to comment.