appropriate base table for source activities
authorDeepak Srivastava <deepak.srivastava.0303@gmail.com>
Tue, 29 Apr 2014 08:13:43 +0000 (13:43 +0530)
committerDeepak Srivastava <deepak.srivastava.0303@gmail.com>
Tue, 29 Apr 2014 08:13:43 +0000 (13:43 +0530)
CRM/Logging/ReportSummary.php

index 5be779ff7e7aaee358f2b16e10d3d8db0150b91e..78360b18e07415bfdaa4e4b68ad75e8f809c1389 100644 (file)
@@ -145,7 +145,7 @@ class CRM_Logging_ReportSummary extends CRM_Report_Form {
         'log_civicrm_activity_for_source' =>
         array(
           'fk' => 'contact_id',
-          'table_name' => 'log_civicrm_activity_contact',
+          'table_name' => 'log_civicrm_activity',
           'joins' => array(
             'table' => 'log_civicrm_activity_contact',
             'join' => "entity_log_civireport.id = fk_table.activity_id AND fk_table.record_type_id = {$sourceID}"