[Koha-bugs] [Bug 31897] New: New hook when indexing with Elasticsearch
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 20 18:45:18 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31897
Bug ID: 31897
Summary: New hook when indexing with Elasticsearch
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Plugin architecture
Assignee: koha-bugs at lists.koha-community.org
Reporter: stefan.berndtsson at ub.gu.se
QA Contact: testopia at bugs.koha-community.org
This patch adds a new hook "before_index_action" with the action "update". This
is run on the array reference to the biblio records that are about to be
updated in the Elasticsearch index.
With this, a plugin can change the record so that it better suits the index
without having to change the actual record in the database (something that
might be prohibited or discouraged due to centralised cataloging).
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list