From 3d5349b914d6915ce7a80a9d1454bfe6b5b51dc8 Mon Sep 17 00:00:00 2001 From: =?utf8?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. Signed-off-by: Jonathan Druart --- 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.39.5