From 97e70e726b0868a09e0dd2cda9c6881ef8ec974b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 6 May 2022 09:37:23 +0200 Subject: [PATCH] Bug 30465: Fix Koha/Items/BatchUpdate.t Signed-off-by: Martin Renvoize --- Koha/Items.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Items.pm b/Koha/Items.pm index 1900a40a0f..90b178a1ce 100644 --- a/Koha/Items.pm +++ b/Koha/Items.pm @@ -357,7 +357,8 @@ sub batch_update { my $indexer = Koha::SearchEngine::Indexer->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } ); - $indexer->update_index( \@biblionumbers ); + $indexer->index_records( \@biblionumbers, 'specialUpdate', + "biblioserver", undef ); } } -- 2.39.5