From 71b589098d47a3c4574bdc8700a337151e6cea18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Thu, 22 Jul 2021 14:32:09 +0000 Subject: [PATCH] Bug 22690: (QA follow-up) Correct variable name The $from_biblio variable name doesn't exists after a refactoring that happened. Here we need to re-index both the $self biblio and $to_biblio biblio. --- Koha/Items.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Items.pm b/Koha/Items.pm index 834ac18230..4d3de57056 100644 --- a/Koha/Items.pm +++ b/Koha/Items.pm @@ -126,7 +126,7 @@ sub move_to_biblio { } my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX }); $indexer->index_records( $self->biblionumber, "specialUpdate", "biblioserver" ); - $indexer->index_records( $from_biblio->biblionumber, "specialUpdate", "biblioserver" ); + $indexer->index_records( $to_biblio->biblionumber, "specialUpdate", "biblioserver" ); } -- 2.25.1