From 6579a0f580323bb283c0a74d431f2ba115fb7c4e Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Sun, 5 Mar 2017 12:31:05 +0530 Subject: [PATCH] CRM-20193, changed the table alias for Currency field to use civicrm_financial_trxn table and have name field table alias ---------------------------------------- * CRM-20193: Draw currency from better table on Batch Transaction form https://issues.civicrm.org/jira/browse/CRM-20193 --- CRM/Financial/Page/AJAX.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Financial/Page/AJAX.php b/CRM/Financial/Page/AJAX.php index 6d7ec441e2..2715e99b9e 100644 --- a/CRM/Financial/Page/AJAX.php +++ b/CRM/Financial/Page/AJAX.php @@ -296,8 +296,8 @@ class CRM_Financial_Page_AJAX { 'contact_a.contact_type', 'contact_a.contact_sub_type', 'civicrm_financial_trxn.trxn_date as transaction_date', - 'name', - 'civicrm_contribution.currency as currency', + 'civicrm_financial_type.name', + 'civicrm_financial_trxn.currency as currency', 'civicrm_financial_trxn.status_id as status', 'civicrm_financial_trxn.check_number as check_number', ); -- 2.25.1