bug 2992: don't display MARC codes in search results
Two fields (type of continuing resource and literary form for sound recordings) in the MARC21 XSLT search results stylesheet display the code from the 008 position (/21 and /31, respectively) in addition to a descriptive label. As a MARC code is meaningless to patrons, this patch removes the code. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
b18f878c5e
commit
d5faa7f114
1 changed files with 2 additions and 2 deletions
|
@ -486,7 +486,7 @@
|
|||
|
||||
<xsl:if test="$typeOf008='CR'">
|
||||
<xsl:if test="$controlField008-21 and $controlField008-21 !='|' and $controlField008-21 !=' '">
|
||||
<span class="label">; Type of continuing resource: <xsl:value-of select="$controlField008-21"/></span>
|
||||
<span class="label">; Type of continuing resource: </span>
|
||||
</xsl:if>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$controlField008-21='d'">
|
||||
|
@ -657,7 +657,7 @@
|
|||
</xsl:choose>
|
||||
</xsl:if>
|
||||
<xsl:if test="$typeOf008='MU' and $controlField008-30-31 and $controlField008-30-31!='||' and $controlField008-30-31!=' '">
|
||||
<span class="label">; Literary form: <xsl:value-of select="$controlField008-30-31"/> </span> <!-- Literary text for sound recordings -->
|
||||
<span class="label">; Literary form: </span> <!-- Literary text for sound recordings -->
|
||||
<xsl:if test="contains($controlField008-30-31,'b')">
|
||||
biography
|
||||
</xsl:if>
|
||||
|
|
Loading…
Reference in a new issue