Skip to content
Snippets Groups Projects
Commit 82a06bfc authored by lobo's avatar lobo
Browse files

CRM-13278 - Select fields for export "- related contact info -" fields are not sorted properly

parent 7bea5079
No related branches found
No related tags found
No related merge requests found
......@@ -560,6 +560,11 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
foreach ($sel1 as $key => $sel) {
if ($key) {
// sort everything BUT the contactType which is sorted seperately by
// an initial commit of CRM-13278 (check ksort above)
if (!in_array($key, $contactType)) {
asort($mapperFields[$key]);
}
$sel2[$key] = array('' => ts('- select field -')) + $mapperFields[$key];
}
}
......
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