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:
3d3fa36
)
export error fixes for multi-select contact reference custom field
author
Kurund Jalmi
<kurund.jalmi@gmail.com>
Mon, 25 Jul 2022 16:19:17 +0000
(17:19 +0100)
committer
GitHub
<noreply@github.com>
Mon, 25 Jul 2022 16:19:17 +0000
(17:19 +0100)
CRM/Export/BAO/ExportProcessor.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Export/BAO/ExportProcessor.php
b/CRM/Export/BAO/ExportProcessor.php
index 18a5663ff8d6180c75840ad2a1dcb7b22a1d20b7..263931c27b6ef9665e0013d2df911a754bbcb590 100644
(file)
--- a/
CRM/Export/BAO/ExportProcessor.php
+++ b/
CRM/Export/BAO/ExportProcessor.php
@@
-1456,7
+1456,7
@@
class CRM_Export_BAO_ExportProcessor {
case CRM_Utils_Type::T_INT:
case CRM_Utils_Type::T_BOOLEAN:
if (in_array(CRM_Utils_Array::value('data_type', $fieldSpec), ['Country', 'StateProvince', 'ContactReference'])) {
- return "`$fieldName`
varchar(255)
";
+ return "`$fieldName`
text
";
}
// some of those will be exported as a (localisable) string
// @see https://lab.civicrm.org/dev/core/-/issues/2164