Bugzilla – Attachment 33017 Details for
Bug 13174
Opac detail view with XSLT is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13174 : XSLT fails if, and only if you have an author, linked to an authority
Bug-13174--XSLT-fails-if-and-only-if-you-have-an-a.patch (text/plain), 1.92 KB, created by
David Cook
on 2014-10-30 23:59:36 UTC
(
hide
)
Description:
Bug 13174 : XSLT fails if, and only if you have an author, linked to an authority
Filename:
MIME Type:
Creator:
David Cook
Created:
2014-10-30 23:59:36 UTC
Size:
1.92 KB
patch
obsolete
>From cd95740917e33241ba7710a42be8a2897205fd90 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Fri, 31 Oct 2014 12:54:04 +1300 >Subject: [PATCH] Bug 13174 : XSLT fails if, and only if you have an author, > linked to an authority > >And only in MARC21 > >To test: > >Only for MARC21 with XSLT on for detail > >1/ Find a record that has an authority linked author in it >2/ View the detail page in the opac >3/ Notice bibliographic data is missing >4/ Apply patch >5/ Refresh notice bibliographic data is back > >Signed-off-by: David Cook <dcook@prosentient.com.au> > >Works as described. >--- > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 15960cd..353a96e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -165,6 +165,7 @@ > <xsl:with-param name="authorfield" select="marc:datafield[@tag=100 or @tag=110 or @tag=111 or @tag=700 or @tag=710 or @tag=711]"/> > <xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> > <xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> >+ <xsl:with-param name="theme" select="$theme"/> > </xsl:call-template> > </h5> > </xsl:when> >@@ -1007,6 +1008,7 @@ > <xsl:param name="authorfield" /> > <xsl:param name="UseAuthoritiesForTracings" /> > <xsl:param name="materialTypeLabel" /> >+ <xsl:param name="theme" /> > <xsl:for-each select="$authorfield"> > <xsl:choose><xsl:when test="position()!=1"><xsl:text>; </xsl:text></xsl:when></xsl:choose> > <xsl:choose> >-- >1.7.7.4
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 13174
:
33016
|
33017
|
33018