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:
bfa1f3d
)
CRM-13278
author
yashodha
<yashodha.chaku@webaccess.co.in>
Mon, 26 Aug 2013 10:09:52 +0000
(15:39 +0530)
committer
yashodha
<yashodha.chaku@webaccess.co.in>
Mon, 26 Aug 2013 10:09:52 +0000
(15:39 +0530)
CRM/Core/BAO/Mapping.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/Mapping.php
b/CRM/Core/BAO/Mapping.php
index cd28f41a1db8fd8538baefc17cbb637cba8c36e5..daea5f6dfa139da1e6b7e5862545f9c758d0c4bd 100644
(file)
--- a/
CRM/Core/BAO/Mapping.php
+++ b/
CRM/Core/BAO/Mapping.php
@@
-328,7
+328,7
@@
class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
// exclude the address options disabled in the Address Settings
$fields[$value] = CRM_Core_BAO_Address::validateAddressOptions($contactFields);
-
+ ksort($fields[$value]);
if ($mappingType == 'Export') {
$relationships = array();
$relationshipTypes = CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, NULL, NULL, $value);
@@
-560,7
+560,6
@@
class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
foreach ($sel1 as $key => $sel) {
if ($key) {
- asort($mapperFields[$key]);
$sel2[$key] = array('' => ts('- select field -')) + $mapperFields[$key];
}
}