From a3aabbe26659e018920b2d9ec6ec9f0dd67b403f Mon Sep 17 00:00:00 2001 From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Tue, 14 Sep 2010 15:44:44 +0000 Subject: [PATCH] unbreak item count in result list of slimpac git-svn-id: svn://svn.open-ils.org/ILS/trunk@17653 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xsl/ATOM2XHTML.xsl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Open-ILS/xsl/ATOM2XHTML.xsl b/Open-ILS/xsl/ATOM2XHTML.xsl index 11415f1919..3484f1508b 100644 --- a/Open-ILS/xsl/ATOM2XHTML.xsl +++ b/Open-ILS/xsl/ATOM2XHTML.xsl @@ -412,18 +412,18 @@ To-do list: <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" /> -- 2.11.0