Bugzilla – Attachment 33018 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]
[PASSED QA] Bug 13174 : XSLT fails if, and only if you have an author, linked to an authority
PASSED-QA-Bug-13174--XSLT-fails-if-and-only-if-you.patch (text/plain), 2.02 KB, created by
Katrin Fischer
on 2014-10-31 00:01:49 UTC
(
hide
)
Description:
[PASSED QA] Bug 13174 : XSLT fails if, and only if you have an author, linked to an authority
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-10-31 00:01:49 UTC
Size:
2.02 KB
patch
obsolete
>From 4f73c1760e2ca64403e69783db148875b64d6ef9 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] [PASSED QA] 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. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> > >Works as describe, the details are back! >--- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 ++ > 1 file changed, 2 insertions(+) > >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.9.1
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