Bug 27022: Publisher number 028 does not display according to framework settings
Test plan: 1. search the catalogue for an item 2. check if you can see the publisher number below the item title (you shouldn't) 3. click on the item and check if you can see the publisher number on this page (you shouldn't) 4. in a new browser, repeat steps 1-3 on the OPAC 5. apply patch 6. repeat steps 1-4, however this time the publisher number SHOULD display under the item titles Sponsored by Catalyst IT Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
c826c9e22c
commit
9f7eb070cc
4 changed files with 54 additions and 1 deletions
|
@ -843,6 +843,19 @@
|
|||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Publisher or Distributor Number -->
|
||||
<xsl:if test="marc:datafield[@tag=028]">
|
||||
<span class="results_summary publisher_number ">
|
||||
<span class="label">Publisher number: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=028]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">abq</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- DDC classification -->
|
||||
<xsl:if test="marc:datafield[@tag=082]">
|
||||
<span class="results_summary ddc">
|
||||
|
|
|
@ -879,6 +879,19 @@
|
|||
</xsl:when>
|
||||
</xsl:choose>
|
||||
|
||||
<!-- Publisher or Distributor Number -->
|
||||
<xsl:if test="marc:datafield[@tag=028]">
|
||||
<span class="results_summary publisher_number ">
|
||||
<span class="label">Publisher number: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=028]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">abq</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Dissertation note -->
|
||||
<xsl:if test="marc:datafield[@tag=502]">
|
||||
<span class="results_summary diss_note">
|
||||
|
|
|
@ -197,7 +197,21 @@
|
|||
<xsl:value-of select="$materialTypeLabel"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<!-- Publisher or Distributor Number -->
|
||||
<xsl:if test="marc:datafield[@tag=028]">
|
||||
<span class="results_summary publisher_number ">
|
||||
<span class="label">Publisher number: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=028]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">abq</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:call-template name="show-lang-041"/>
|
||||
|
||||
|
|
|
@ -1045,6 +1045,19 @@
|
|||
</xsl:call-template>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Publisher or Distributor Number -->
|
||||
<xsl:if test="marc:datafield[@tag=028]">
|
||||
<span class="results_summary publisher_number ">
|
||||
<span class="label">Publisher number: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=028]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">abq</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Publisher info and RDA related info from tags 260, 264 -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="marc:datafield[@tag=264]">
|
||||
|
|
Loading…
Reference in a new issue