Bug 13433 - Added 655 display to OPAC and staff full views.

This patch field 655 to the full displays in the staff and OPAC views. Multiple 655 fields are separated with a span class=separator | .

To test:

* Search the opac for records with genre/field 655
* Click the title
* Make sure the fields display properly
* Repeat for a few more titles
* Repeat in the Staff Client

http://bugs.koha-community.org/show_bug.cgi?id=13433
Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Winona Salesky 2015-03-15 21:15:48 -04:00 committed by Tomas Cohen Arazi
parent 6224f1d7e5
commit d4ffd6f730
2 changed files with 24 additions and 0 deletions

View File

@ -565,6 +565,18 @@
</span>
</xsl:if>
<!-- Genre/Form -->
<xsl:if test="marc:datafield[@tag=655]">
<span class="results_summary genre"><span class="label">Genre/Form: </span>
<xsl:for-each select="marc:datafield[@tag=655]">
<xsl:call-template name="subfieldSelect">
<xsl:with-param name="codes">avxyz</xsl:with-param>
</xsl:call-template>
<xsl:if test="position()!=last()"><span class="separator"> | </span></xsl:if>
</xsl:for-each>
</span>
</xsl:if>
<!-- DDC classification -->
<xsl:if test="marc:datafield[@tag=082]">
<span class="results_summary ddc">

View File

@ -625,6 +625,18 @@
</span>
</xsl:if>
<!-- Genre/Form -->
<xsl:if test="marc:datafield[@tag=655]">
<span class="results_summary genre"><span class="label">Genre/Form: </span>
<xsl:for-each select="marc:datafield[@tag=655]">
<xsl:call-template name="subfieldSelect">
<xsl:with-param name="codes">avxyz</xsl:with-param>
</xsl:call-template>
<xsl:if test="position()!=last()"><span class="separator"> | </span></xsl:if>
</xsl:for-each>
</span>
</xsl:if>
<!-- DDC classification -->
<xsl:if test="marc:datafield[@tag=082]">
<span class="results_summary ddc">