[open-ils-commits] r17653 - trunk/Open-ILS/xsl (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 14 11:44:47 EDT 2010
Author: miker
Date: 2010-09-14 11:44:44 -0400 (Tue, 14 Sep 2010)
New Revision: 17653
Modified:
trunk/Open-ILS/xsl/ATOM2XHTML.xsl
Log:
unbreak item count in result list of slimpac
Modified: trunk/Open-ILS/xsl/ATOM2XHTML.xsl
===================================================================
--- trunk/Open-ILS/xsl/ATOM2XHTML.xsl 2010-09-14 15:39:58 UTC (rev 17652)
+++ trunk/Open-ILS/xsl/ATOM2XHTML.xsl 2010-09-14 15:44:44 UTC (rev 17653)
@@ -412,18 +412,18 @@
<xsl:if test="$itemrights"><dd class="rights"><xsl:call-template name="showtext"><xsl:with-param name="node" select="$itemrights" /></xsl:call-template></dd></xsl:if>
<!-- item count -->
- <xsl:if test="h:volumes">
- <xsl:if test="h:volumes/h:volume/h:copies/h:copy">
+ <xsl:if test="h:holdings/h:volumes">
+ <xsl:if test="h:holdings/h:volumes/h:volume/h:copies/h:copy">
<dd>
- <xsl:value-of select="$t-availcopies"/><xsl:value-of select="count(h:volumes/h:volume/h:copies/h:copy/h:status[@ident='0' or @ident='7' or @ident='12'])"/>
+ <xsl:value-of select="$t-availcopies"/><xsl:value-of select="count(h:holdings/h:volumes/h:volume/h:copies/h:copy/h:status[@ident='0' or @ident='7' or @ident='12'])"/>
<span> / </span>
- <xsl:value-of select="$t-totalcopies"/><xsl:value-of select="count(h:volumes/h:volume/h:copies/h:copy)"/>
+ <xsl:value-of select="$t-totalcopies"/><xsl:value-of select="count(h:holdings/h:volumes/h:volume/h:copies/h:copy)"/>
</dd>
</xsl:if>
- <xsl:if test="h:volumes/h:volume/h:uris/h:uri">
+ <xsl:if test="h:holdings/h:volumes/h:volume/h:uris/h:uri">
<dd>
<xsl:value-of select="$t-onlineresources"/>
- <xsl:for-each select="h:volumes/h:volume/h:uris/h:uri">
+ <xsl:for-each select="h:holdings/h:volumes/h:volume/h:uris/h:uri">
<a>
<xsl:attribute name="href">
<xsl:value-of select="@href" />
More information about the open-ils-commits
mailing list