From: Brian Shaughnessy Date: Thu, 26 Jun 2014 16:20:29 +0000 (-0400) Subject: CRM-14921 retain context from custom search X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bd4a903612e72cc985917db42851844dcf118900;p=civicrm-core.git CRM-14921 retain context from custom search --- diff --git a/templates/CRM/Contact/Form/Search/Custom.tpl b/templates/CRM/Contact/Form/Search/Custom.tpl index 9d28f55fdc..f4947822cd 100644 --- a/templates/CRM/Contact/Form/Search/Custom.tpl +++ b/templates/CRM/Contact/Form/Search/Custom.tpl @@ -107,7 +107,7 @@ {foreach from=$columnHeaders item=header} {assign var=fName value=$header.sort} {if $fName eq 'sort_name'} - {$row.sort_name} + {$row.sort_name} {else} {$row.$fName} {/if} diff --git a/templates/CRM/Contact/Form/Search/Custom/Proximity.tpl b/templates/CRM/Contact/Form/Search/Custom/Proximity.tpl index 3b4af91228..ae4488ae77 100644 --- a/templates/CRM/Contact/Form/Search/Custom/Proximity.tpl +++ b/templates/CRM/Contact/Form/Search/Custom/Proximity.tpl @@ -102,7 +102,7 @@ {foreach from=$columnHeaders item=header} {assign var=fName value=$header.sort} {if $fName eq 'sort_name'} - {$row.sort_name} + {$row.sort_name} {else} {$row.$fName} {/if}