Bug 40618: The display of the field 255 (Cartographic Mathematical Data) is missing (both in intranet and OPAC)
For the maps, one of the key characteristics is the information about the scale of the map (in MARC 21 - in the field 255: https://www.loc.gov/marc/bibliographic/bd255.html). Currently, we do not display it neither in intranet view, nor in OPAC. Test plan: ========== 1. Modify any bibliograhic record inserting a 255 field with example content. (You may need to make the subfields visible in the editor by modifying the MARC framework). 2. Verify in Normal view (intranet) and in OPAC that you are unable to see the inserted data. 3. Apply the patch ; restart_all. 4. Verify in Normal view (intranet) and in OPAC that you are now able to see the cartographical data from 255 field. Sponsored-by: Ignatianum University in Cracow Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> [EDIT] Fixed some indentation Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
86d79a48d3
commit
e225b8b3b5
|
|
@ -359,6 +359,31 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Cartographic data Statement: Alternate Graphic Representation (MARC 880) -->
|
||||
<xsl:if test="$display880">
|
||||
<xsl:call-template name="m880Select">
|
||||
<xsl:with-param name="basetags">255</xsl:with-param>
|
||||
<xsl:with-param name="codes">abcdefg</xsl:with-param>
|
||||
<xsl:with-param name="class">results_summary cartographic_data</xsl:with-param>
|
||||
<xsl:with-param name="label">Cartographic data: </xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=255]">
|
||||
<span class="results_summary cartographic_data"><span class="label">Cartographic data: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=255]">
|
||||
<xsl:call-template name="chopPunctuation">
|
||||
<xsl:with-param name="chopString">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">abcdefg</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Description: Alternate Graphic Representation (MARC 880) -->
|
||||
<xsl:if test="$display880">
|
||||
<xsl:call-template name="m880Select">
|
||||
|
|
|
|||
|
|
@ -412,6 +412,33 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Cartographic data Statement: Alternate Graphic Representation (MARC 880) -->
|
||||
<xsl:if test="$display880">
|
||||
<xsl:call-template name="m880Select">
|
||||
<xsl:with-param name="basetags">255</xsl:with-param>
|
||||
<xsl:with-param name="codes">abcdefg</xsl:with-param>
|
||||
<xsl:with-param name="class">results_summary cartographic_data</xsl:with-param>
|
||||
<xsl:with-param name="label">Cartographic data: </xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=255]">
|
||||
<span class="results_summary cartographic_data"><span class="label">Cartographic data: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=255]">
|
||||
<span property="cartographicData">
|
||||
<xsl:call-template name="chopPunctuation">
|
||||
<xsl:with-param name="chopString">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">abcdefg</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</span>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Description: Alternate Graphic Representation (MARC 880) -->
|
||||
<xsl:if test="$display880">
|
||||
<xsl:call-template name="m880Select">
|
||||
|
|
|
|||
Loading…
Reference in New Issue