From ad3dc960c1484cdbb16a5a8be6ac00d745c6b7fe Mon Sep 17 00:00:00 2001 From: Pedro Date: Tue, 26 Nov 2019 12:24:17 -0100 Subject: [PATCH] bug fix for bug 24121 --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 9f39b50..a6657e7 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1941,7 +1941,7 @@ sub searchResults { $oldbiblio->{result_number} = $i + 1; # add imageurl to itemtype if there is one - $oldbiblio->{imageurl} = getitemtypeimagelocation( $search_context, $itemtypes{ $oldbiblio->{itemtype} }->{imageurl} ); + $oldbiblio->{imageurl} = getitemtypeimagelocation( $search_context->{'interface'}, $itemtypes{ $oldbiblio->{itemtype} }->{imageurl} ); $oldbiblio->{normalized_upc} = GetNormalizedUPC( $marcrecord,$marcflavour); $oldbiblio->{normalized_ean} = GetNormalizedEAN( $marcrecord,$marcflavour); -- 2.7.4