Additional change needed to get Country column exported for merge into household.
authorDave Greenberg <dave@civicrm.org>
Tue, 7 Jan 2014 01:51:04 +0000 (17:51 -0800)
committerDave Greenberg <dave@civicrm.org>
Tue, 7 Jan 2014 01:51:04 +0000 (17:51 -0800)
CRM/Export/BAO/Export.php

index 1ed6118deabf24c8f346c8817b5f37676e03a868..923fa6fe1592f322c3770cf2882c5ec891c35e44 100644 (file)
@@ -880,6 +880,9 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
               elseif ( is_object($relDAO) && $relationField == 'state_province' ) {
                 $fieldValue = CRM_Core_PseudoConstant::stateProvince($relDAO->state_province_id);
               }
+              elseif ( is_object($relDAO) && $relationField == 'country' ) {
+                $fieldValue = CRM_Core_PseudoConstant::country($relDAO->country_id);
+              }
               else {
                 $fieldValue = '';
               }