From 394ff5fc27ac631fbf4dc7bbe2e265c676b883b5 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Wed, 19 Mar 2008 07:27:28 -0400 Subject: [PATCH] fixing item-level_itype =ON imageurl in opac-detail.pl Signed-off-by: Joshua Ferraro --- opac/opac-detail.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 6c4f7a5f4f..d0083da584 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -116,6 +116,9 @@ foreach my $itm (@items) { #get collection code description, too $itm->{'ccode'} = GetAuthorisedValueDesc('','', $itm->{'ccode'} ,'','','CCODE'); $itm->{'location_description'} = GetAuthorisedValueDesc('','', $itm->{'location'} ,'','','LOC'); + $itm->{'imageurl'} = $imgdir."/".$itemtypes->{ $itm->{itype} }->{'imageurl'}; + $itm->{'description'} = $itemtypes->{$itemtype}->{'description'}; + } $template->param( norequests => $norequests, RequestOnOpac=>$RequestOnOpac ); -- 2.39.5