Bugzilla – Attachment 144214 Details for
Bug 32339
[Elasticsearch] Provide record when cataloguing biblios
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32339: Provide record when cataloguing biblios
Bug-32339-Provide-record-when-cataloguing-biblios.patch (text/plain), 1.82 KB, created by
Aleisha Amohia
on 2022-11-23 22:09:01 UTC
(
hide
)
Description:
Bug 32339: Provide record when cataloguing biblios
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2022-11-23 22:09:01 UTC
Size:
1.82 KB
patch
obsolete
>From 9bd64b901459bf6c06093012d76c095d44bb5d1a Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 23 Nov 2022 22:07:10 +0000 >Subject: [PATCH] Bug 32339: Provide record when cataloguing biblios > >To test: > >1. Ensure you have Elasticsearch enabled and configured >2. Add a new record and confirm you can search for it straight after >saving, before and after applying the patch > >Sponsored-by: Auckland University of Technology >--- > C4/Biblio.pm | 2 +- > Koha/SearchEngine/Elasticsearch/Indexer.pm | 3 +-- > 2 files changed, 2 insertions(+), 3 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 9790febdaa2..61a13f74e04 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -2778,7 +2778,7 @@ sub ModBiblioMarc { > > unless ( $skip_record_index ) { > my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX }); >- $indexer->index_records( $biblionumber, "specialUpdate", "biblioserver" ); >+ $indexer->index_records( $biblionumber, "specialUpdate", "biblioserver", $record ); > } > > return $biblionumber; >diff --git a/Koha/SearchEngine/Elasticsearch/Indexer.pm b/Koha/SearchEngine/Elasticsearch/Indexer.pm >index 6101a3a3729..e3e47f412c8 100644 >--- a/Koha/SearchEngine/Elasticsearch/Indexer.pm >+++ b/Koha/SearchEngine/Elasticsearch/Indexer.pm >@@ -308,8 +308,7 @@ sub update_index_background { > This function takes an array of record numbers and fetches the records to send to update_index > for actual indexing. > >-If $records parameter is provided the records will be used as-is, this is only utilized for authorities >-at the moment. >+If $records parameter is provided the records will be used as-is. > > The other variables are used for parity with Zebra indexing calls. Currently the calls are passed through > to Zebra as well. >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32339
: 144214