]> git.koha-community.org Git - koha.git/commit
Bug 9988: Add extract_biblionumber to Koha/SearchEngine
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 15 Feb 2017 14:48:17 +0000 (15:48 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Apr 2017 12:53:46 +0000 (08:53 -0400)
commit25c87a754203f38267eba219d34f86b5922be298
tree749c498d5e19a936c2be1ac4989e83d1601d3e8c
parent5cc310238558ceee83cb340c0246d47d880ccf57
Bug 9988: Add extract_biblionumber to Koha/SearchEngine

When we will replace the Zebra code in sub merge, we will call SearchEngine
to pass records and we need a routine to extract a biblionumber from
a search result record. A record from Zebra still must be converted to
MARC::Record. This is no longer needed for a ElasticSearch record.

Test plan:
Run t/db_dependent/Koha/SearchEngine/Search.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch/Search.pm
Koha/SearchEngine/Search.pm
Koha/SearchEngine/Zebra/Search.pm
t/db_dependent/Koha/SearchEngine/Search.t [new file with mode: 0644]