Bug 23506: Display correct icon in staff client and OPAC
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 29 Oct 2019 17:40:47 +0000 (17:40 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 12 Dec 2019 15:23:53 +0000 (15:23 +0000)
commit618c1f80581cfda85db675f9cf69c62576afa2f1
treed9d72787285f96d85ce6856e420013202f633984
parentfc2f564875564bb6431c606dae6f1e15d66a1446
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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b53e068651c521a989bd13387cef7fef8975d1e7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl