Bug 17823: Add label for MARC 583 - Action note

test plan
Edit a record
Edit field 583a to add an action note
Save the record and confirm that the note does not show up in staff
client or opac
Apply patch and refresh page
Action note should now show up in staff client and opac

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 16dcea2330)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 36685a439a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
Karen Jen 2017-01-17 22:46:02 +00:00 committed by Julian Maurice
parent ce1cdb5794
commit bd3188a2b3
2 changed files with 22 additions and 0 deletions

View File

@ -839,6 +839,27 @@
</span>
</xsl:if>
<!-- 583 -->
<xsl:if test="marc:datafield[@tag=583]">
<xsl:for-each select="marc:datafield[@tag=583]">
<xsl:if test="@ind1=1 or @ind1=' '">
<span class="results_summary actionnote">
<span class="label">Action note: </span>
<xsl:choose>
<xsl:when test="marc:subfield[@code='z']">
<xsl:value-of select="marc:subfield[@code='z']"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="subfieldSelect">
<xsl:with-param name="codes">abcdefgijklnou</xsl:with-param>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</span>
</xsl:if>
</xsl:for-each>
</xsl:if>
<!-- 508 -->
<xsl:if test="marc:datafield[@tag=508]">
<div class="results_summary prod_credits">

View File

@ -925,6 +925,7 @@
<xsl:for-each select="marc:datafield[@tag=583]">
<xsl:if test="@ind1=1 or @ind1=' '">
<span class="results_summary actionnote">
<span class="label">Action note: </span>
<xsl:choose>
<xsl:when test="marc:subfield[@code='z']">
<xsl:value-of select="marc:subfield[@code='z']"/>