[Koha-bugs] [Bug 18822] Advanced editor - Rancor - searching broken under Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 16 14:38:58 CET 2018


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

--- Comment #12 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Marcel de Rooy from comment #10)
> +        my $fixed_rec;
> +        eval { $fixed_rec = MARC::Record::new_from_xml( $set->{hits}->[$j],
> 'UTF-8' ) };
> +        $set->{hits}->[$j] = $fixed_rec unless $@;
> 
> No way to know what to expect ? Is it from internal or external ? Do we have
> properties of these external ones ?
> And can we check ref($set->{hits}->[$j]) to see if it is already
> MARC::Record ?

We have a slightly larger issue here of sometimes returning MARC::Records and
sometimes returning marcxml.

I suppose we could test the type, or assume in this case always marcxml, this
was the simplest band-aid, we will need to address the larger problem on
another report.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list