From bd4a903612e72cc985917db42851844dcf118900 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Thu, 26 Jun 2014 12:20:29 -0400 Subject: [PATCH] CRM-14921 retain context from custom search --- templates/CRM/Contact/Form/Search/Custom.tpl | 2 +- templates/CRM/Contact/Form/Search/Custom/Proximity.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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} -- 2.25.1