Bugzilla – Attachment 95827 Details for
Bug 24121
Item types icons in intra search results are requesting icons from opac images path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for knowing correct interface (opac or intra) when requesting itemtype icons
0001-bug-fix-for-bug-24121.patch (text/plain), 967 bytes, created by
Pedro Amorim
on 2019-11-26 13:25:26 UTC
(
hide
)
Description:
Fix for knowing correct interface (opac or intra) when requesting itemtype icons
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2019-11-26 13:25:26 UTC
Size:
967 bytes
patch
obsolete
>From ad3dc960c1484cdbb16a5a8be6ac00d745c6b7fe Mon Sep 17 00:00:00 2001 >From: Pedro <pjamorim91@gmail.com> >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 >
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 24121
:
95827
|
96146
|
96194
|
96506
|
96575