Improved handling for related links (link list name now supported) in Foundry

git-svn-id: https://svn.libreccm.org/ccm/trunk@4162 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2016-06-16 13:07:56 +00:00
parent 8ff655f792
commit d91eb7d386
1 changed files with 7 additions and 2 deletions

View File

@ -77,7 +77,12 @@
<xsl:variable name="links-layout-tree" select="current()"/> <xsl:variable name="links-layout-tree" select="current()"/>
<xsl:for-each select="$contentitem-tree/links"> <xsl:variable name="link-list-name"
select="if(./@link-list-name)
then ./@link-list-name
else 'NONE'" />
<xsl:for-each select="$contentitem-tree/links[./linkListName=$link-list-name]">
<xsl:sort select="linkOrder"/> <xsl:sort select="linkOrder"/>
<xsl:choose> <xsl:choose>