Bugzilla – Attachment 88570 Details for
Bug 22418
Authority link magnifying glass icon doesn't appear for 655 subject tags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22418: Add magnifying glass to 655 results
Bug-22418-Add-magnifying-glass-to-655-results.patch (text/plain), 2.06 KB, created by
Katrin Fischer
on 2019-04-23 22:12:00 UTC
(
hide
)
Description:
Bug 22418: Add magnifying glass to 655 results
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-04-23 22:12:00 UTC
Size:
2.06 KB
patch
obsolete
>From 7bcb0a79a9bb39589234c938a9e635ae1f72bcab Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 22 Apr 2019 12:39:08 +0000 >Subject: [PATCH] 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> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 7cdd98f03d..f8f0ba16c9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -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> >-- >2.11.0
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 22418
:
85722
|
87948
|
88372
|
88373
| 88570 |
88571