fixing item-level_itype =ON imageurl in opac-detail.pl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Joshua Ferraro 2008-03-19 07:27:28 -04:00
parent afb36c429e
commit 394ff5fc27
1 changed files with 3 additions and 0 deletions

View File

@ -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 );