https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30822

--- Comment #10 from Jonathan Druart <[email protected]> ---
I think you did better than me on
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136129

But maybe we need that part, for biblio deletions, what do you think?

+    if ( $record_type eq 'biblio' && ( @updated_biblionumbers ||
@deleted_biblionumbers ) ) {
+        my $indexer = Koha::SearchEngine::Indexer->new({ index =>
$Koha::SearchEngine::BIBLIOS_INDEX });
+        if ( @deleted_biblionumbers ) {
+            $indexer->index_records( \@deleted_biblionumbers, "recordDelete",
"biblioserver" );
+        } else {
+            $indexer->index_records( \@updated_biblionumbers, "specialUpdate",
"biblioserver" );
+        }
+    }

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to