Smarty notice fix on contact search results
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 2 Jan 2023 04:34:14 +0000 (17:34 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 2 Jan 2023 04:35:22 +0000 (17:35 +1300)
CRM/Contact/Selector.php
templates/CRM/Contact/Form/Selector.tpl

index c5d8f8d26de0ea7ca7d78150e88c9170a0f46348..c08e1cb79aad9af83bb4101a3e57a88af489b322 100644 (file)
@@ -55,6 +55,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
     'geo_code_1',
     'geo_code_2',
     'is_deceased',
+    'is_deleted',
     'email',
     'on_hold',
     'phone',
index 697af67f615f0cb9d843db01227fddf5374a4bd3..16b42bef3041cef59438dee368ad7f636ef80783 100644 (file)
@@ -78,7 +78,7 @@
                 {$row.status}</td>
             {/if}
             <td>{$row.contact_type}</td>
-            <td><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$row.contact_id`&key=`$qfKey`&context=`$context`"}">{if !empty($row.is_deleted)}<del>{/if}{$row.sort_name}{if !empty($row.is_deleted)}</del>{/if}</a></td>
+            <td><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$row.contact_id`&key=`$qfKey`&context=`$context`"}">{if $row.is_deleted}<del>{/if}{$row.sort_name}{if $row.is_deleted}</del>{/if}</a></td>
             {if $action eq 512 or $action eq 256}
               {if !empty($columnHeaders.street_address)}
           <td><span title="{$row.street_address|escape}">{$row.street_address|mb_truncate:22:"...":true}{privacyFlag field=do_not_mail condition=$row.do_not_mail}</span></td>