Bug 14917: 700/710/711 fix path for icon in XSLT
authorWinona Salesky <wsalesky@gmail.com>
Wed, 30 Sep 2015 02:32:45 +0000 (22:32 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 5 Oct 2015 15:34:21 +0000 (12:34 -0300)
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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: I shortened the commit subject and put most of it in the commit message.

koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl

index a35ef12..a92ef6a 100644 (file)
             <!-- #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'">