Quick fix to VIVO-975 where there's a missing 'type' parameter in a Freemarker call that throws an exception

This commit is contained in:
Jon Corson-Rikert 2015-02-16 10:35:18 -05:00
parent d6f7baf8a8
commit 183da6fd56

View file

@ -11,11 +11,14 @@
<#elseif individual.event()>
itemscope itemtype="http://schema.org/Event"
<#elseif individual.infoContentEntity()>
<#assign mst = "Document" />
<#list individual.mostSpecificTypes as type >
<#assign mst = type />
<#break>
</#list>
<@getItemType mst "infoContentEntity"/>
<#else>
itemscope itemtype="http://schema.org/Thing"
</#if>
</#macro>