projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd6b459
)
CRM-16939 - Allow exporting current employers > 64 characters
author
Jon goldberg
<jon@palantetech.coop>
Wed, 29 Jul 2015 20:46:27 +0000
(16:46 -0400)
committer
Jon goldberg
<jon@palantetech.coop>
Wed, 29 Jul 2015 20:50:54 +0000
(16:50 -0400)
CRM/Export/BAO/Export.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Export/BAO/Export.php
b/CRM/Export/BAO/Export.php
index 8ba00ee4355a1f90ad4bf205a6e8c47f9f999409..198e38dcae0cc0a1894bb28d2e06a5719fbad0c0 100644
(file)
--- 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;
}