[Koha-bugs] [Bug 11175] Show the parent record's component parts in the detailed views
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 12 11:36:19 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11175
--- Comment #377 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 126080
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126080&action=edit
Bug 11175: (QA follow-up) Account for difference in simple_search return
Thanks to a comment from Andrew, I discovered that the return from
simple_search_compat actually differs depending on if you are using
ElasticSearch or Zebra. The 'results' arrayref contains MARC::Record
objects for ES and raw marc strings if you are using Zebra. This is
actually already dealt with in the misnamed new_record_from_zebra
function inside C4::Search.. so this patch simply replaces our
MARC::Record instantiation code with a call to that function.
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Andrew Nugged <nugged at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list