Bugzilla – Attachment 15610 Details for
Bug 9356
Show Dissertation note (MARC21 502) in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9356: Show Dissertation note (MARC21 502) in XSLT
Bug-9356-Show-Dissertation-note-MARC21-502-in-XSLT.patch (text/plain), 3.48 KB, created by
Marcel de Rooy
on 2013-02-22 10:42:26 UTC
(
hide
)
Description:
Bug 9356: Show Dissertation note (MARC21 502) in XSLT
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-02-22 10:42:26 UTC
Size:
3.48 KB
patch
obsolete
>From 432d8361b209b18b1712c53f0e2a519dfd15e121 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Tue, 8 Jan 2013 10:17:40 +0100 >Subject: [PATCH] Bug 9356: Show Dissertation note (MARC21 502) in XSLT >Content-Type: text/plain; charset="utf-8" > >Shows dissertation note in OPAC and intranet detail pages. > >To test: >1) Look at records with and without 502 in intranet and OPAC >2) Verify display is correct and consistent > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >All tests pass in staff and opac >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 12 ++++++++++++ > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 14 +++++++++++++- > 2 files changed, 25 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 83b1d65..2c5216c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -623,6 +623,18 @@ > </xsl:for-each> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=502]"> >+ <span class="results_summary diss_note"> >+ <span class="label">Dissertation note: </span> >+ <xsl:for-each select="marc:datafield[@tag=502]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">abcdgo</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise></xsl:choose> >+ </span> >+ </xsl:if> >+ > <!-- 866 textual holdings --> > <xsl:if test="marc:datafield[@tag=866]"> > <span class="results_summary holdings_note"><span class="label">Holdings note: </span> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 3bd86c9..0a10316 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -691,7 +691,7 @@ > </xsl:if> > > <xsl:for-each select="marc:datafield[@tag=511]"> >- <span class="results_summary summary"> >+ <span class="results_summary perf_note"> > <span class="label"> > <xsl:if test="@ind1=1"><xsl:text>Cast: </xsl:text></xsl:if> > </span> >@@ -701,6 +701,18 @@ > </span> > </xsl:for-each> > >+ <xsl:if test="marc:datafield[@tag=502]"> >+ <span class="results_summary diss_note"> >+ <span class="label">Dissertation note: </span> >+ <xsl:for-each select="marc:datafield[@tag=502]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">abcdgo</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise></xsl:choose> >+ </span> >+ </xsl:if> >+ > <xsl:for-each select="marc:datafield[@tag=520]"> > <span class="results_summary summary"><span class="label"> > <xsl:choose> >-- >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 9356
:
14457
|
14458
|
14521
|
14522
|
14523
|
15610
|
15611
|
15612