bug 2505 followup: restored correct item type image display
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
f447f8a91f
commit
0a306bc28c
1 changed files with 4 additions and 0 deletions
|
@ -146,6 +146,10 @@ for my $itm (@items) {
|
|||
if ( defined $itm->{'location'} ) {
|
||||
$itm->{'location_description'} = $shelflocations->{ $itm->{'location'} };
|
||||
}
|
||||
if (exists $itm->{itype} && defined($itm->{itype}) && exists $itemtypes->{ $itm->{itype} }) {
|
||||
$itm->{'imageurl'} = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
|
||||
$itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
|
||||
}
|
||||
foreach (qw(ccode enumchron copynumber itemnotes)) {
|
||||
$itemfields{$_} = 1 if ($itm->{$_});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue