[open-ils-commits] r13039 - trunk/Open-ILS/xsl (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun May 3 00:01:50 EDT 2009


Author: miker
Date: 2009-05-03 00:01:47 -0400 (Sun, 03 May 2009)
New Revision: 13039

Modified:
   trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl
Log:
hide empty volumes (for ##URI## support)

Modified: trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl
===================================================================
--- trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl	2009-05-03 00:52:14 UTC (rev 13038)
+++ trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl	2009-05-03 04:01:47 UTC (rev 13039)
@@ -73,12 +73,12 @@
   <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">



More information about the open-ils-commits mailing list