Bug 33497: (follow-up) Adjust relationship name from bug 33493
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
c662bfe18e
commit
82d0021cd8
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ my $itemtypes = { map { $_->itemtype => $_ } @{ Koha::ItemTypes->search_with_loc
|
|||
my $params;
|
||||
my $patron = Koha::Patrons->find( $borrowernumber );
|
||||
$params->{ itemlost } = 0 if $patron->category->hidelostitems && !$showallitems;
|
||||
my $items = $biblio->items({ host_items => 1 })->search_ordered( $params, { prefetch => ['issue','branchtransfer'] } );
|
||||
my $items = $biblio->items({ host_items => 1 })->search_ordered( $params, { prefetch => ['issue','current_branchtransfers'] } );
|
||||
|
||||
# flag indicating existence of at least one item linked via a host record
|
||||
my $hostrecords = $biblio->host_items->count;
|
||||
|
|
Loading…
Reference in a new issue