From 86eef7b63fdcfbb57aab4f8ec9ef44d7651df377 Mon Sep 17 00:00:00 2001 From: Jon goldberg Date: Wed, 29 Jul 2015 16:46:27 -0400 Subject: [PATCH] CRM-16939 - Allow exporting current employers > 64 characters --- CRM/Export/BAO/Export.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 8ba00ee435..198e38dcae 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -1330,7 +1330,8 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c // early exit for master_id, CRM-12100 // in the DB it is an ID, but in the export, we retrive the display_name of the master record - if ($fieldName == 'master_id') { + // also for current_employer, CRM-16939 + if ($fieldName == 'master_id' || $fieldName == 'current_employer') { $sqlColumns[$fieldName] = "$fieldName varchar(128)"; return; } -- 2.25.1