<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
'title' => ts('Log Type'),
'type' => CRM_Utils_Type::T_STRING,
),
+ 'log_type_table' => array(
+ 'name' => 'log_type',
+ 'title' => ts('Log Type Table'),
+ 'type' => CRM_Utils_Type::T_STRING,
+ ),
'log_action' => array(
'operatorType' => CRM_Report_Form::OP_MULTISELECT,
'options' => array('Insert' => ts('Insert'), 'Update' => ts('Update'), 'Delete' => ts('Delete')),
if ($this->cid) {
$q .= '&cid=' . $this->cid;
}
+ $q .= (!empty($row['log_civicrm_entity_altered_contact'])) ?
+ '&alteredName='.$row['log_civicrm_entity_altered_contact'] : '';
+ $q .= (!empty($row['altered_by_contact_display_name'])) ?
+ '&alteredBy='.$row['altered_by_contact_display_name'] : '';
+ $q .= (!empty($row['log_civicrm_entity_log_user_id'])) ?
+ '&alteredById='.$row['log_civicrm_entity_log_user_id'] : '';
$url1 = CRM_Report_Utils_Report::getNextUrl('logging/contact/detail', "{$q}&snippet=4§ion=2&layout=overlay", FALSE, TRUE);
$url2 = CRM_Report_Utils_Report::getNextUrl('logging/contact/detail', "{$q}§ion=2", FALSE, TRUE);
$row['log_civicrm_entity_log_type'] . '_' .
$row['log_civicrm_entity_log_conn_id'] . '_' .
$row['log_civicrm_entity_log_user_id'] . '_' .
- $row['log_civicrm_entity_id'];
+ $row['log_civicrm_entity_altered_contact_id'];
$newRows[$key] = $row;
unset($row['log_civicrm_entity_log_user_id']);