Revert "Bug 33496: (follow-up) Correct param names"
This reverts commit f0e208c1e7.
This commit is contained in:
parent
516e389b9c
commit
87559c60f0
|
|
@ -478,10 +478,10 @@ sub items {
|
|||
return Koha::Items->_new_from_dbic( $items_rs ) unless $params->{host_items};
|
||||
|
||||
my $host_itemnumbers = $self->_host_itemnumbers();
|
||||
my $search_params = { -or => [biblionumber => $self->id] };
|
||||
push @{$search_params->{'-or'}}, itemnumber => { -in => $host_itemnumbers } if $host_itemnumbers;
|
||||
my $params = { -or => [biblionumber => $self->id] };
|
||||
push @{$params->{'-or'}}, itemnumber => { -in => $host_itemnumbers } if $host_itemnumbers;
|
||||
|
||||
return Koha::Items->search($search_params);
|
||||
return Koha::Items->search($params);
|
||||
}
|
||||
|
||||
=head3 host_items
|
||||
|
|
|
|||
Loading…
Reference in New Issue