Backport from trunk: slimpac cleanup
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Sep 2010 15:31:19 +0000 (15:31 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Sep 2010 15:31:19 +0000 (15:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17651 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl

index dec92ee..3e81d2f 100644 (file)
@@ -1334,7 +1334,6 @@ sub create_record_feed {
        my $lib = uc(shift()) || '-';
        my $depth = shift;
        my $flesh = shift;
-       $flesh = 1 if (!defined($flesh));
 
        my $paging = shift;
 
@@ -1348,7 +1347,7 @@ sub create_record_feed {
 
     my $tag_prefix = sprintf("tag:open-ils.org,$year-\%0.2d-\%0.2d", $month, $day);
 
-       my $flesh_feed = parse_feed_type($type);
+       my $flesh_feed = defined($flesh) ? $flesh : parse_feed_type($type);
 
        $type =~ s/(-full|-uris)$//o;
 
index 2dba62a..0b2c14a 100644 (file)
@@ -33,7 +33,7 @@
      <xsl:apply-templates select="xhtml:abbr[@class='unapi-id']"/>
     </div>
     <br/>
-    <xsl:apply-templates select="hold:volumes"/>
+    <xsl:apply-templates select="hold:holdings/hold:volumes"/>
     <br/>
   </xsl:template>