Bug 22418: Add magnifying glass to 655 results

To test:
1 - Have some 655 fields linked to authorities
2 - Notice they have no magnifyiung glass
3 - Apply patch
4 - Note they have one now

Signed-off-by: Michal Denar <black23@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-04-22 12:39:08 +00:00
parent e7e1f2faee
commit aa6c41db8d
1 changed files with 13 additions and 0 deletions

View File

@ -734,6 +734,19 @@
<xsl:with-param name="subdivDelimiter">-- </xsl:with-param>
</xsl:call-template>
</a>
<xsl:if test="marc:subfield[@code=9]">
<xsl:text> </xsl:text>
<a class='authlink'>
<xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute>
<xsl:attribute name="alt"></xsl:attribute>
<xsl:attribute name="height">15</xsl:attribute>
<xsl:attribute name="width">15</xsl:attribute>
</xsl:element>
</a>
</xsl:if>
<xsl:if test="position()!=last()"><span class="separator"> | </span></xsl:if>
</xsl:for-each>
</span>