View | Details | Raw Unified | Return to bug 33497
Collapse All | Expand All

(-)a/catalogue/detail.pl (-2 / +1 lines)
Lines 193-199 my $itemtypes = { map { $_->itemtype => $_ } @{ Koha::ItemTypes->search_with_loc Link Here
193
my $params;
193
my $params;
194
my $patron = Koha::Patrons->find( $borrowernumber );
194
my $patron = Koha::Patrons->find( $borrowernumber );
195
$params->{ itemlost } = 0 if $patron->category->hidelostitems && !$showallitems;
195
$params->{ itemlost } = 0 if $patron->category->hidelostitems && !$showallitems;
196
my $items = $biblio->items({ host_items => 1 })->search_ordered( $params, { prefetch => ['issue','branchtransfer'] } );
196
my $items = $biblio->items({ host_items => 1 })->search_ordered( $params, { prefetch => ['issue','current_branchtransfers'] } );
197
197
198
# flag indicating existence of at least one item linked via a host record
198
# flag indicating existence of at least one item linked via a host record
199
my $hostrecords = $biblio->host_items->count;
199
my $hostrecords = $biblio->host_items->count;
200
- 

Return to bug 33497