From 87f66a371c8fdc3d8ae58802c6412150e6e9db7b Mon Sep 17 00:00:00 2001 From: tworrall Date: Wed, 16 Oct 2013 11:12:22 -0400 Subject: [PATCH] VIVO-368: template was checking the group display name and the class name, not the uris --- productMods/templates/freemarker/lib/lib-home-page.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/productMods/templates/freemarker/lib/lib-home-page.ftl b/productMods/templates/freemarker/lib/lib-home-page.ftl index d3850f68..eeb7415d 100644 --- a/productMods/templates/freemarker/lib/lib-home-page.ftl +++ b/productMods/templates/freemarker/lib/lib-home-page.ftl @@ -34,9 +34,9 @@ <#macro facultyMemberCount classGroups> <#assign foundClassGroup = false /> <#list classGroups as group> - <#if (group.individualCount > 0) && group.displayName == "people" > + <#if (group.individualCount > 0) && group.uri?contains("people") > <#list group.classes as class> - <#if (class.name == "Faculty Member") > + <#if (class.uri?contains("FacultyMember")) > <#assign foundClassGroup = true /> <#if (class.individualCount > 0) >