missing type
authordemeritcowboy <demeritcowboy@hotmail.com>
Wed, 14 Jul 2021 15:06:05 +0000 (11:06 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Wed, 14 Jul 2021 15:06:05 +0000 (11:06 -0400)
CRM/Logging/ReportDetail.php
templates/CRM/Logging/ReportDetail.tpl

index ad16340ec68b273fee25f9e5fb0b502c19077ddc..99ed827d147ef72f67be4d829c41f2485938e850 100644 (file)
@@ -103,9 +103,9 @@ class CRM_Logging_ReportDetail extends CRM_Report_Form {
     }
 
     $this->_columnHeaders = [
-      'field' => ['title' => ts('Field')],
-      'from' => ['title' => ts('Changed From')],
-      'to' => ['title' => ts('Changed To')],
+      'field' => ['title' => ts('Field'), 'type' => CRM_Utils_Type::T_STRING],
+      'from' => ['title' => ts('Changed From'), 'type' => CRM_Utils_Type::T_STRING],
+      'to' => ['title' => ts('Changed To'), 'type' => CRM_Utils_Type::T_STRING],
     ];
   }
 
index bd95dd3a738f88c236b647d59e1f81a3a92048b7..3b562c64f039e79d3bb871f62a9a97f5e1006eee 100644 (file)
@@ -9,6 +9,7 @@
 *}
 <div class="crm-block crm-content-block crm-report-form-block">
   {if $rows}
+    {* todo: Is `raw` ever assigned to the template and why would it make a difference as to whether this div is present? The revert confirmation is handled (awkwardly) lower down by javascript $revertConfirm *}
     {if $raw}
       <div class="status">
         <dl>