projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ec24f9
)
Adds 'available' to holdings information
author
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Wed, 28 Apr 2010 22:06:40 +0000
(15:06 -0700)
committer
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Wed, 28 Apr 2010 22:06:40 +0000
(15:06 -0700)
etc/opac.xsl
patch
|
blob
|
history
diff --git
a/etc/opac.xsl
b/etc/opac.xsl
index
617a18b
..
6fe5ecd
100644
(file)
--- a/
etc/opac.xsl
+++ b/
etc/opac.xsl
@@
-31,6
+31,14
@@
<xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
</xsl:choose>
</pz:metadata>
+ <pz:metadata type="available">
+ <xsl:choose>
+ <xsl:when test="string-length(available)">
+ <xsl:value-of select="available"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
<pz:metadata type="publicnote">
<xsl:choose>
<xsl:when test="publicNote">