my $lib = uc(shift()) || '-';
my $depth = shift;
my $flesh = shift;
- $flesh = 1 if (!defined($flesh));
my $paging = shift;
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;
<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>