From 87559c60f0a42da5a31d8976f945fce4fb0760f3 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 19 Jul 2023 10:52:30 +0100 Subject: [PATCH] Revert "Bug 33496: (follow-up) Correct param names" This reverts commit f0e208c1e7e804a9e8db2de614ad612e3d14255d. --- Koha/Biblio.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index f588420365..c17c4359f0 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -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 -- 2.39.2