Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-02-05-17-16-30
authorkurund <kurund@civicrm.org>
Thu, 6 Feb 2014 01:31:12 +0000 (17:31 -0800)
committerkurund <kurund@civicrm.org>
Thu, 6 Feb 2014 01:31:12 +0000 (17:31 -0800)
Conflicts:
tests/phpunit/api/v3/GroupContactTest.php

20 files changed:
1  2 
CRM/Activity/BAO/Activity.php
CRM/Contact/BAO/Query.php
CRM/Core/BAO/ActionSchedule.php
CRM/Core/Config.php
CRM/Core/DAO.php
CRM/Core/Page.php
CRM/Event/xml/Menu/Event.xml
CRM/Mailing/Form/Group.php
CRM/Profile/Selector/Listings.php
CRM/Report/Form.php
CRM/Report/Form/Case/Demographics.php
CRM/Report/Form/Event/ParticipantListCount.php
CRM/Utils/System/Drupal.php
CRM/Utils/Token.php
api/api.php
api/v3/utils.php
tests/phpunit/api/v3/GroupContactTest.php
tests/phpunit/api/v3/SyntaxConformanceTest.php
xml/schema/Activity/ActivityContact.xml
xml/schema/Core/Website.xml

Simple merge
index 69e4a22e4adc10f5bd7468f37868d8d019cb3730,d108d6eaa906410aa09e39c4ad2f2ba733e7a25a..7cd5c8ae1cd9920e1006659cdef3a9621be5c3a8
@@@ -757,35 -754,14 +752,17 @@@ class CRM_Contact_BAO_Query 
                  }
                  elseif ($fieldName != 'id') {
                    if ($fieldName == 'prefix_id') {
-                     // Hack - profile views use different field name than normal views!
-                     $this->_pseudoConstantsSelect['prefix_id'] =
-                     $this->_pseudoConstantsSelect['individual_prefix'] = array(
-                       'pseudoField' => 'prefix_id',
-                       'idCol' => "prefix_id",
-                       'bao' => 'CRM_Contact_BAO_Contact'
-                     );
+                     $this->_pseudoConstantsSelect['individual_prefix'] = array('pseudoField' => 'prefix_id', 'idCol' => "prefix_id", 'bao' => 'CRM_Contact_BAO_Contact');
                    }
                    if ($fieldName == 'suffix_id') {
-                     // Hack - profile views use different field name than normal views!
-                     $this->_pseudoConstantsSelect['suffix_id'] =
-                     $this->_pseudoConstantsSelect['individual_suffix'] = array(
-                       'pseudoField' => 'suffix_id',
-                       'idCol' => "suffix_id",
-                       'bao' => 'CRM_Contact_BAO_Contact'
-                     );
+                     $this->_pseudoConstantsSelect['individual_suffix'] = array('pseudoField' => 'suffix_id', 'idCol' => "suffix_id", 'bao' => 'CRM_Contact_BAO_Contact');
                    }
                    if ($fieldName == 'gender_id') {
-                     // Hack - profile views use different field name than normal views!
-                     $this->_pseudoConstantsSelect['gender_id'] =
-                     $this->_pseudoConstantsSelect['gender'] = array(
-                       'pseudoField' => 'gender_id',
-                       'idCol' => "gender_id",
-                       'bao' => 'CRM_Contact_BAO_Contact'
-                     );
+                     $this->_pseudoConstantsSelect['gender'] = array('pseudoField' => 'gender_id', 'idCol' => "gender_id", 'bao' => 'CRM_Contact_BAO_Contact');
                    }
 +                  if ($name == 'communication_style_id') {
 +                    $this->_pseudoConstantsSelect['communication_style'] = array('pseudoField' => 'communication_style_id', 'idCol' => "communication_style_id", 'bao' => 'CRM_Contact_BAO_Contact');
 +                  }
                    $this->_select[$name] = "contact_a.{$fieldName}  as `$name`";
                  }
                }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc api/api.php
Simple merge
Simple merge
index 299e0abaaff038ba11eab62ad1644d96801db9c8,ef31e3b50d8c10086202f64d14c678fcd382d401..a3c118b463d5a710b218da94b2f7d8317ab5b05b
@@@ -70,7 -70,11 +70,7 @@@ class api_v3_GroupContactTest extends C
        'visibility' => 'User and User Admin Only',
      );
  
-     $this->_groupId2 = $this->groupCreate($group, 3);
+     $this->_groupId2 = $this->groupCreate($group);
 -    $params = array(
 -      'contact_id.1' => $this->_contactId,
 -      'group_id' => $this->_groupId2,
 -    );
  
      $this->_group = array(
        $this->_groupId1 => array('title' => 'New Test Group Created',
Simple merge