VIVO-368: template was checking the group display name and the class name, not the uris
This commit is contained in:
parent
3f9a295647
commit
87f66a371c
1 changed files with 2 additions and 2 deletions
|
@ -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) >
|
||||
<script>var facultyMemberCount = ${class.individualCount?string?replace(",","")};</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue