[REF] Fix Smarty Notices on Find Grants search
authorSeamus Lee <seamuslee001@gmail.com>
Thu, 4 Jan 2024 01:11:07 +0000 (12:11 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Thu, 4 Jan 2024 01:11:07 +0000 (12:11 +1100)
ext/civigrant/templates/CRM/Grant/Form/Search/Common.tpl
ext/civigrant/templates/CRM/Grant/Form/Selector.tpl

index be795cc52e8507d1d15c29df799e544f603c3e98..54d9d302c383014bcef7002aa628357a9424941a 100644 (file)
@@ -37,7 +37,7 @@
   {assign var=notSetFieldName value=$fieldName|cat:'_notset'}
 <tr>
   <td>
-    {include file="CRM/Core/DatePickerRange.tpl" from='_low' to='_high'}
+    {include file="CRM/Core/DatePickerRange.tpl" from='_low' to='_high' hideRelativeLabel=0}
   </td>
   <td>
     &nbsp;{$form.$notSetFieldName.html}&nbsp;&nbsp;{$form.$notSetFieldName.label}
index be64bb0d67e7a0e50de87ebf464829f37c813c78..84aeb69a7193a291a9a892beac9154c5fa13bb5a 100644 (file)
@@ -33,7 +33,7 @@
 
   {counter start=0 skip=1 print=false}
   {foreach from=$rows item=row}
-  <tr id='crm-grant_{$row.grant_id}' class="{cycle values="odd-row,even-row"} crm-grant crm-grant_status-{$row.grant_status_id}">
+  <tr id='crm-grant_{$row.grant_id}' class="{cycle values="odd-row,even-row"} crm-grant crm-grant_status-{$row.grant_status}">
 
   {if !$single}
      {if $context eq 'Search'}