From 7f021e47116198c825c1aaf1447785720bfc230e Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Mon, 14 Dec 2009 20:37:03 -0500 Subject: [PATCH] Bug 3890: Nothing in Type Pull Down on Purchase Suggestions. This patch adds a description of the itype next to the image that i suppose to appear in the selection list. Fixed the path of the image in opac-suggestions.pl, but I'm not sure if you can actually display an image in a
  • -
  • +
  • diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl index 7c07c9f65b..8a43353ee8 100755 --- a/opac/opac-suggestions.pl +++ b/opac/opac-suggestions.pl @@ -66,7 +66,7 @@ if ($allsuggestions){ else { $$suggestion{suggestedby} ||= $borrowernumber unless ($allsuggestions); } -warn "bornum:",$borrowernumber; +# warn "bornum:",$borrowernumber; use YAML; my $suggestions_loop = &SearchSuggestion( $suggestion); @@ -97,7 +97,7 @@ map{ $_->{'branchcodesuggestedby'}=GetBranchInfo($_->{'branchcodesuggestedby'})- my $supportlist=GetSupportList(); foreach my $support(@$supportlist){ if ($$support{'imageurl'}){ - $$support{'imageurl'}= getitemtypeimagelocation( 'intranet', $$support{'imageurl'} ); + $$support{'imageurl'}= getitemtypeimagelocation( 'opac', $$support{'imageurl'} ); } else { delete $$support{'imageurl'} -- 2.39.2