Bug 24121: Item types icons in intra search results are requesting icons from opac...
authorPedro Amorim <pjamorim91@gmail.com>
Wed, 11 Dec 2019 11:28:34 +0000 (10:28 -0100)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Wed, 15 Jan 2020 00:39:42 +0000 (13:39 +1300)
commit7a520d4225daff52960e02e9c1ce52606b6deaca
tree711f6d13cc1a927476dec12f67a01f0bbc97af0a
parent4232f7d80dc1a3aa0a8347bddb6864659ca93f74
Bug 24121: Item types icons in intra search results are requesting icons from opac images path

When searching in INTRA you'll notice the item type icons not showing.

To test:
1) Set syspref item-level_itypes to biblio
2) Confirm that there is a biblioitems.itemtype mapping to a MARC field
3) Verify that item type icons are set for all the types
4) Perform a search where biblios with said MARC field is filled with a type value
5) Verify that where the icon should appear, it's showing the browser icon for image not found
6) Apply patch.
7) Repeat step 4.
8) Observe the icons are now displayed correctly

Sponsored-by: Governo Regional dos Açores
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 433d578418759946db723e33ce719b27464af5c1)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c0f4bd11cceb61538e972351acd68e4024062dc5)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
C4/Search.pm