}
$caseTypes = CRM_Case_PseudoConstant::caseType('name');
- $allCaseTypes = CRM_Case_PseudoConstant::caseType('label', FALSE);
+ $allCaseTypes = CRM_Case_PseudoConstant::caseType('title', FALSE);
if (!empty($caseTypes[$params['case_type_id']])) {
$caseType = $caseTypes[$params['case_type_id']];
'suffix_id' => CRM_Contact_BAO_Contact::buildOptions('suffix_id'),
'website_type_id' => CRM_Core_PseudoConstant::get('CRM_Core_DAO_Website', 'website_type_id'),
'activity_type_id' => CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'label', TRUE),
- 'case_type_id' => CRM_Case_PseudoConstant::caseType('label', FALSE),
+ 'case_type_id' => CRM_Case_PseudoConstant::caseType('title', FALSE),
'priority_id' => CRM_Core_PseudoConstant::get('CRM_Activity_DAO_Activity', 'priority_id'),
);
),
'bracket_info' => array(
'entity_column' => 'case_type_id',
- 'options' => CRM_Case_PseudoConstant::caseType('label', FALSE)
+ 'options' => CRM_Case_PseudoConstant::caseType('title', FALSE)
),
),
);
// build _logTables for address custom tables
$customTables = $logging->entityCustomDataLogTables('Address');
foreach ($customTables as $table) {
- $this->_logTables[$table] =
+ $this->_logTables[$table] =
array(
'fk' => 'contact_id',// for join of fk_table with contact table
'joins' => array(
function where() {
// reset where clause as its called multiple times, every time insert sql is built.
$this->_whereClauses = array();
-
+
parent::where();
$this->_where .= " AND (entity_log_civireport.log_action != 'Initialization')";
}