From f7f54436884634d9696d3fe46b2aa31757d56c4b Mon Sep 17 00:00:00 2001 From: Winona Salesky <wsalesky@gmail.com> Date: Tue, 29 Sep 2015 22:32:45 -0400 Subject: [PATCH] [SIGNED-OFF]Bug 14917 - RDA: 700/710/711 fix path for icon in XSLT. Added theme and materialTypeLabel parameters back into showAuthor template call for 7xx display in OPAC display. Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac record details 3) Find or create a record with MARC tags 700,710,711 5) Click title to review record details. 6) Link to icon following contributor names should appear. Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Works as expected. Magnifying glass icon corrected --- 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 a35ef12..a92ef6a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -176,6 +176,8 @@ <!-- #13382 suppress 700$i and 7xx/@ind2=2 --> <xsl:with-param name="authorfield" select="marc:datafield[(@tag=700 or @tag=710 or @tag=711) and not(@ind2=2) and not(marc:subfield[@code='i'])]"/> <xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/> + <xsl:with-param name="materialTypeLabel" select="$materialTypeLabel"/> + <xsl:with-param name="theme" select="$theme"/> </xsl:call-template> <xsl:if test="$DisplayOPACiconsXSLT!='0'"> -- 1.7.10.4