From 886b2b2610809835fca0bbf99d16fe1483b1dd13 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 23 Jun 2017 09:42:11 -0400 Subject: [PATCH] Update template to use correct id Need to pass to custom field info filter the member info id --- glm-member-db/views/front/members/detail.html | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/glm-member-db/views/front/members/detail.html b/glm-member-db/views/front/members/detail.html index 2a3870a..270388e 100644 --- a/glm-member-db/views/front/members/detail.html +++ b/glm-member-db/views/front/members/detail.html @@ -92,34 +92,34 @@
{$lon = apply_filters( 'glm-member-lat-lon-dms', $member.lon, 'Lon', 'DMS', 2 )}{if $lon.text}{$lon.text}{/if}
{/if} - {if apply_filters('glm_custom_fields', 'distance', $member.id)} + {if apply_filters('glm_custom_fields', 'distance', $member.memberInfoId)}
Distance
-
{apply_filters('glm_custom_fields', 'distance', $member.id)}
+
{apply_filters('glm_custom_fields', 'distance', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'type', $member.id)} + {if apply_filters('glm_custom_fields', 'type', $member.memberInfoId)}
Trail Type
-
{apply_filters('glm_custom_fields', 'type', $member.id)}
+
{apply_filters('glm_custom_fields', 'type', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'terrain', $member.id)} + {if apply_filters('glm_custom_fields', 'terrain', $member.memberInfoId)}
Terrain
-
{apply_filters('glm_custom_fields', 'terrain', $member.id)}
+
{apply_filters('glm_custom_fields', 'terrain', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'difficulty', $member.id)} + {if apply_filters('glm_custom_fields', 'difficulty', $member.memberInfoId)}
Difficulty
-
{apply_filters('glm_custom_fields', 'difficulty', $member.id)}
+
{apply_filters('glm_custom_fields', 'difficulty', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.id)} + {if apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.memberInfoId)}
Nearest City or Town
-
{apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.id)}
+
{apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.memberInfoId)}
{/if} -- 2.17.1