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

David Gustafsson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff
                 CC|                            |[email protected]

--- Comment #18 from David Gustafsson <[email protected]> ---
(In reply to Fridolin Somers from comment #15)
> Ah we should give to the plugin the index name 'biblios' or 'authorities'.
> Maybe with $self->index.
> 
> > a plugin can change the record so that it better suits the index 
> In this case we may better hook in
> Koha::SearchEngine::Elasticsearch::marc_records_to_documents().
> There already is feature for ISBN forms and IncludeSeeFromInSearches.

I added the index parameter. I'm a little bit confused with regard to why
marc_records_to_documents would be a better place to place the hook. In bug
36433 the hook is called when the mappings has already been processed, it seams
more useful to be able to modify the record before that if we are performing
some kind of cleanup/normalization. bug 36433 fits a whole different use-case
if you want to perform some manual custom mapping for example, if I'm
understanding things correctly.

-- 
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