Lines 150-156
while ( my $c = $sth->fetchrow_hashref() ) {
Link Here
|
150 |
my ( $renewals_count, $renewals_allowed, $renewals_remaining ) = |
150 |
my ( $renewals_count, $renewals_allowed, $renewals_remaining ) = |
151 |
GetRenewCount( $c->{borrowernumber}, $c->{itemnumber} ); |
151 |
GetRenewCount( $c->{borrowernumber}, $c->{itemnumber} ); |
152 |
|
152 |
|
153 |
my $itemtype = Koha::ItemTypes->find( $item_level_itypes ? $c->{itype} : $c->{itemtype} ); |
153 |
my $type_for_stat = Koha::ItemTypes->find( $item_level_itypes ? $c->{itype} : $c->{itemtype} ); |
|
|
154 |
my $itemtype = Koha::ItemTypes->find( $c->{itype} ); |
155 |
my $recordtype = Koha::ItemTypes->find( $c->{itemtype} ); |
154 |
my $location; |
156 |
my $location; |
155 |
if ( $c->{location} ) { |
157 |
if ( $c->{location} ) { |
156 |
my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $c->{location} }); |
158 |
my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $c->{location} }); |
Lines 176-183
while ( my $c = $sth->fetchrow_hashref() ) {
Link Here
|
176 |
title => $c->{title}, |
178 |
title => $c->{title}, |
177 |
author => $c->{author}, |
179 |
author => $c->{author}, |
178 |
barcode => $c->{barcode}, |
180 |
barcode => $c->{barcode}, |
179 |
itemtype => $item_level_itypes ? $c->{itype} : $c->{itemtype}, |
181 |
type_for_stat => $type_for_stat ? $type_for_stat->translated_description : q{}, |
180 |
itemtype_description => $itemtype ? $itemtype->translated_description : q{}, |
182 |
itemtype_description => $itemtype ? $itemtype->translated_description : q{}, |
|
|
183 |
recordtype_description => $recordtype ? $recordtype->translated_description : q{}, |
181 |
collection => $collection, |
184 |
collection => $collection, |
182 |
location => $location, |
185 |
location => $location, |
183 |
homebranch => $c->{homebranch}, |
186 |
homebranch => $c->{homebranch}, |
184 |
- |
|
|