Bugzilla – Attachment 14323 Details for
Bug 8877
MARC21 field 511 missing from XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8877 [ENH] MARC21 field 511 missing from XSLT
SIGNED-OFF-Bug-8877-ENH-MARC21-field-511-missing-f.patch (text/plain), 1.69 KB, created by
Katrin Fischer
on 2012-12-28 22:28:34 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8877 [ENH] MARC21 field 511 missing from XSLT
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-12-28 22:28:34 UTC
Size:
1.69 KB
patch
obsolete
>From 9921d910940eb90f0fde7e4e1f1c3888edb4d9b5 Mon Sep 17 00:00:00 2001 >From: Mirko Tietgen <mirko@abunchofthings.net> >Date: Thu, 4 Oct 2012 23:02:00 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 8877 [ENH] MARC21 field 511 missing from > XSLT > >Adds MARC21 field 511 to the OPAC XSLT file. > >Signed-off-by: Marc Veron <veron@veron.ch> > >COntents of field 511 appears as expected. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Patch changes OPAC XSLT display, >511 is shown as defined by the MARC21 standard. >If 1st indicator is 1, the label cast is shown in front of the 511 field. >If 1st indicator is 0 or empty, no label is shown. >--- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 300b7bd..fe08fd3 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -690,6 +690,17 @@ > </xsl:for-each> > </xsl:if> > >+ <xsl:for-each select="marc:datafield[@tag=511]"> >+ <span class="results_summary summary"> >+ <span class="label"> >+ <xsl:if test="@ind1=1"><xsl:text>Cast: </xsl:text></xsl:if> >+ </span> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </span> >+ </xsl:for-each> >+ > <xsl:for-each select="marc:datafield[@tag=520]"> > <span class="results_summary summary"><span class="label"> > <xsl:choose> >-- >1.7.9.5
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 8877
:
12690
|
12697
| 14323