From 7253f19899cd67f399f2fe52fb119b096556aa21 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Wed, 29 May 2013 19:43:04 +0530 Subject: [PATCH] CRM-12684 fix: if custom data's profile field weight order is against to the order of its creation then the issue replicates --- .../Page/MultipleRecordFieldsListing.tpl | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl b/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl index 2b567bffd5..a334e32393 100644 --- a/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl +++ b/templates/CRM/Profile/Page/MultipleRecordFieldsListing.tpl @@ -32,25 +32,24 @@
{strip} - - - +
+ + {foreach from=$headers key=recId item=head} - {/foreach} + {/foreach} - - {foreach from=$records key=recId item=rows} - - {foreach from=$rows item=row} - {foreach from=$row item=val key=ids} - - {/foreach} - {/foreach} - - {/foreach} -
{ts}{$head}{/ts}
{$val}
+ + {foreach from=$records key=recId item=rows} + + {foreach from=$headers key=hrecId item=head} + {$rows.$hrecId} + {/foreach} + {$rows.action} + + {/foreach} + {/strip}
-- 2.25.1