---
opac/opac-detail.pl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl
index 3df0989..ae6bc41 100755
--- a/opac/opac-detail.pl
+++ b/opac/opac-detail.pl
@@ -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->{$_});
}
--
1.5.6.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches