Bugzilla – Attachment 15614 Details for
Bug 9363
Show Patent control information and report number (MARC21, XSLT, detail pages)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9363: Show Patent control information and report number (MARC21, XSLT, detail pages)
Bug-9363-Show-Patent-control-information-and-repor.patch (text/plain), 4.74 KB, created by
Marcel de Rooy
on 2013-02-22 10:58:07 UTC
(
hide
)
Description:
Bug 9363: Show Patent control information and report number (MARC21, XSLT, detail pages)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-02-22 10:58:07 UTC
Size:
4.74 KB
patch
obsolete
>From eeed413199f94202ae3c7ae1611b97ad71cb13bb Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Tue, 8 Jan 2013 13:18:49 +0100 >Subject: [PATCH] Bug 9363: Show Patent control information and report number > (MARC21, XSLT, detail pages) >Content-Type: text/plain; charset="utf-8" > >Adds 088 $a and 013 $a,c,d,e,f to OPAC and intranet detail pages for MARC21 and XSLT. > >To test: > 1) Check records with single and multiple 013 and 088 fields with different subfields catalogued. > 2) Check records with no 088 or 013 present. > 3) Verify display is ok and consistent. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >Verified in opac and staff client by following all tests. >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 25 ++++++++++++++++++++ > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 25 ++++++++++++++++++++ > 2 files changed, 50 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 24349e1..ae83415 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -395,6 +395,31 @@ > </span> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=013]"> >+ <span class="results_summary patent_info"> >+ <span class="label">Patent information: </span> >+ <xsl:for-each select="marc:datafield[@tag=013]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">acdef</xsl:with-param> >+ <xsl:with-param name="delimeter">, </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> >+ >+ <xsl:if test="marc:datafield[@tag=088]"> >+ <span class="results_summary report_number"> >+ <span class="label">Report number: </span> >+ <xsl:for-each select="marc:datafield[@tag=088]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</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> >+ > <!-- Other Title Statement: Alternate Graphic Representation (MARC 880) --> > <xsl:if test="$display880"> > <xsl:call-template name="m880Select"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index fe08fd3..7cd3207 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -401,6 +401,31 @@ > </span> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=013]"> >+ <span class="results_summary patent_info"> >+ <span class="label">Patent information: </span> >+ <xsl:for-each select="marc:datafield[@tag=013]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">acdef</xsl:with-param> >+ <xsl:with-param name="delimeter">, </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> >+ >+ <xsl:if test="marc:datafield[@tag=088]"> >+ <span class="results_summary report_number"> >+ <span class="label">Report number: </span> >+ <xsl:for-each select="marc:datafield[@tag=088]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</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> >+ > <!-- Other Title Statement: Alternate Graphic Representation (MARC 880) --> > <xsl:if test="$display880"> > <xsl:call-template name="m880Select"> >-- >1.7.7.6
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 9363
:
14463
|
14465
|
14525
| 15614