Bugzilla – Attachment 37218 Details for
Bug 13734
RDA: Display 33xs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13734 - RDA: Display 33xs
Bug-13734---RDA-Display-33xs.patch (text/plain), 5.54 KB, created by
Winona Salesky
on 2015-03-25 14:10:32 UTC
(
hide
)
Description:
Bug 13734 - RDA: Display 33xs
Filename:
MIME Type:
Creator:
Winona Salesky
Created:
2015-03-25 14:10:32 UTC
Size:
5.54 KB
patch
obsolete
>From 28c05c9f11c1a900016863d8838f8c271cc47db1 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Wed, 25 Mar 2015 10:07:49 -0400 >Subject: [PATCH] Bug 13734 - RDA: Display 33xs > >Test Plan: >1) Apply this patch >2) Ensure you are using the default XSLT setting for the staff and opac search results and record details >3) Find or create a record with MARC tags 700,710,711 >4) Perform an opac search that would show the record in the search results. >5) Click title to review record. >6) Adds fields 336, 337 and 338 to staff and opac details >7) Repeat steps 4 - 6 for the staff interface >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 36 ++++++++++++++++++++++ > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 35 +++++++++++++++++++++ > 2 files changed, 71 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 349dbea..00715a4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -390,6 +390,42 @@ > </span> > </xsl:if> > >+ <!-- Content Type --> >+ <xsl:if test="marc:datafield[@tag=336] or marc:datafield[@tag=337] or marc:datafield[@tag=338]"> >+ <span class="results_summary" id="content_type"> >+ <xsl:if test="marc:datafield[@tag=336]"> >+ <span class="label">Content Type: </span> >+ <xsl:for-each select="marc:datafield[@tag=336]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </xsl:if> >+ <xsl:text> </xsl:text> >+ <!-- Media Type --> >+ <xsl:if test="marc:datafield[@tag=337]"> >+ <span class="label">Media Type: </span> >+ <xsl:for-each select="marc:datafield[@tag=337]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </xsl:if> >+ <xsl:text> </xsl:text> >+ <!-- Media Type --> >+ <xsl:if test="marc:datafield[@tag=338]"> >+ <span class="label">Carrier Type: </span> >+ <xsl:for-each select="marc:datafield[@tag=338]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </xsl:if> >+ </span> >+ </xsl:if> >+ >+ >+ > <!-- Build ISBN --> > <xsl:if test="marc:datafield[@tag=020]/marc:subfield[@code='a']"> > <span class="results_summary isbn"><span class="label">ISBN: </span> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 11624c4..6ce30d2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -429,6 +429,41 @@ > </span> > </xsl:if> > >+ <!-- Content Type --> >+ <xsl:if test="marc:datafield[@tag=336] or marc:datafield[@tag=337] or marc:datafield[@tag=338]"> >+ <span class="results_summary" id="content_type"> >+ <xsl:if test="marc:datafield[@tag=336]"> >+ <span class="label">Content Type: </span> >+ <xsl:for-each select="marc:datafield[@tag=336]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </xsl:if> >+ <xsl:text> </xsl:text> >+ <!-- Media Type --> >+ <xsl:if test="marc:datafield[@tag=337]"> >+ <span class="label">Media Type: </span> >+ <xsl:for-each select="marc:datafield[@tag=337]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </xsl:if> >+ <xsl:text> </xsl:text> >+ <!-- Media Type --> >+ <xsl:if test="marc:datafield[@tag=338]"> >+ <span class="label">Carrier Type: </span> >+ <xsl:for-each select="marc:datafield[@tag=338]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </xsl:if> >+ </span> >+ </xsl:if> >+ >+ > <xsl:if test="marc:datafield[@tag=020]/marc:subfield[@code='a']"> > <span class="results_summary isbn"><span class="label">ISBN: </span> > <xsl:for-each select="marc:datafield[@tag=020]/marc:subfield[@code='a']"> >-- >1.9.5 (Apple Git-50.3)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13734
:
36046
|
36825
|
36919
|
36920
|
37218
|
38620
|
38957
|
41702