Skip to content
Snippets Groups Projects
Commit dc244b09 authored by Seamus Lee's avatar Seamus Lee
Browse files

#4187 Fix errors when sorting by contributor name or receive date in the soft credit table

parent 0ab8d2c2
No related branches found
No related tags found
No related merge requests found
......@@ -391,10 +391,10 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
// 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',
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment