hide empty volumes (for ##URI## support)
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 May 2009 04:01:47 +0000 (04:01 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 May 2009 04:01:47 +0000 (04:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13039 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl

index d397308..1964f14 100755 (executable)
   <xsl:template match="hold:volumes">
     <xsl:if test="count(hold:volume/hold:copies/hold:copy) &gt; 0">
        <u>Holdings</u>
+        <ul>
+          <xsl:apply-templates select="hold:volume">
+            <xsl:sort select="@lib"/>
+          </xsl:apply-templates>
+        </ul>
     </xsl:if>
-    <ul>
-    <xsl:apply-templates select="hold:volume">
-      <xsl:sort select="@lib"/>
-    </xsl:apply-templates>
-    </ul>
   </xsl:template>
 
   <xsl:template match="hold:volume">