[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
Mon Nov 27 13:01:01 CET 2017


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

--- Comment #10 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+        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 ?

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


More information about the Koha-bugs mailing list