Bugzilla – Attachment 94973 Details for
Bug 23506
Sound material type displays wrong icon in OPAC/Staff details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23506: Display correct icon in staff client and OPAC
Bug-23506-Display-correct-icon-in-staff-client-and.patch (text/plain), 2.65 KB, created by
Katrin Fischer
on 2019-11-02 21:17:01 UTC
(
hide
)
Description:
Bug 23506: Display correct icon in staff client and OPAC
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-11-02 21:17:01 UTC
Size:
2.65 KB
patch
obsolete
>From ab6f1a26661d5eb6470070c7332a5f25400b39a5 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 29 Oct 2019 17:40:47 +0000 >Subject: [PATCH] Bug 23506: Display correct icon in staff client and OPAC > >When the leader6 is set to 'i' the MARC21slim2intranetDetail.xsl >attempts to display 'SO.png' which does not exist. > >TEST PLAN: >1. Find or create a record with an 'i' as the 6th position in the 000 leader. >2. Do to the OPAC detail page and staff detail for an item in that record. >3. Notice the material type icon does not display because SO.png does not exist. >4. Apply patch and restart_all >5. Look at the opac detail and staff detail page again after clearning the browser cache. >6. The material type icon now displays (MU.png), this is the same icon used on the OPAC results page. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index f21e6ced17..a1489bbe50 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -64,7 +64,7 @@ > <xsl:when test="$leader6='g'">VM</xsl:when> > <xsl:when test="$leader6='k'">PK</xsl:when> > <xsl:when test="$leader6='r'">OB</xsl:when> >- <xsl:when test="$leader6='i'">SO</xsl:when> >+ <xsl:when test="$leader6='i'">MU</xsl:when> > <xsl:when test="$leader6='j'">MU</xsl:when> > <xsl:when test="$leader6='c' or $leader6='d'">PR</xsl:when> > </xsl:choose> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index adbf98c777..db2742e03b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -66,7 +66,7 @@ > <xsl:when test="$leader6='g'">VM</xsl:when> > <xsl:when test="$leader6='k'">PK</xsl:when> > <xsl:when test="$leader6='r'">OB</xsl:when> >- <xsl:when test="$leader6='i'">SO</xsl:when> >+ <xsl:when test="$leader6='i'">MU</xsl:when> > <xsl:when test="$leader6='j'">MU</xsl:when> > <xsl:when test="$leader6='c' or $leader6='d'">PR</xsl:when> > </xsl:choose> >-- >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 23506
:
92478
|
93162
|
94840
| 94973