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

--- Comment #10 from Julian Maurice <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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