[Koha-bugs] [Bug 18131] Matching staged records when using elastic search fails
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 1 16:59:59 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18131
--- Comment #10 from Julian Maurice <julian.maurice at biblibre.com> ---
Comment on attachment 62087
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62087
Bug 18131: ES - Fix matching staged records
Review of attachment 62087:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18131&attachment=62087)
-----------------------------------------------------------------
::: C4/Matcher.pm
@@ +673,5 @@
> + else {
> + if ( C4::Context->preference('SearchEngine') eq 'Elasticsearch' ) {
> + foreach my $matched ( @{$searchresults} ) {
> + my ( $biblionumber_tag, $biblionumber_subfield ) = C4::Biblio::GetMarcFromKohaField( "biblio.biblionumber", $marcframework_used );
> + my $id = $matched->field($biblionumber_tag)->subfield($biblionumber_subfield);
This fails on a UNIMARC setup where $biblionumber_tag is 001 (should use
->data())
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list