Bugfix for Foundry: Sorting for MPA sections was alphabetical (10 after 1) instead of numerical.

git-svn-id: https://svn.libreccm.org/ccm/trunk@4576 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2017-02-16 11:38:41 +00:00
parent 10fcf64559
commit 4a86f09147
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@
<xsl:variable name="current-section-layout-tree" select="current()"/>
<xsl:for-each select="$contentitem-tree/cms:articleSectionPanel/cms:item">
<xsl:sort select="./rank"/>
<xsl:sort select="./rank" data-type="number"/>
<xsl:apply-templates select="$current-section-layout-tree/*">
<xsl:with-param name="current-section-title" tunnel="yes" select="./title"/>
@ -279,4 +279,4 @@
</xsl:if>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>