From: Julian Maurice Date: Thu, 8 Dec 2016 09:13:35 +0000 (+0100) Subject: Bug 17744: Remove the oai_dc:dcCollection wrapper in OAI responses X-Git-Tag: v17.05.00~1090 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=3e9dc5d51c5a14fcefe8611c532fe970e930b72a;p=koha-ffzg.git Bug 17744: Remove the oai_dc:dcCollection wrapper in OAI responses Signed-off-by: Josef Moravec Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- diff --git a/Koha/OAI/Server/Repository.pm b/Koha/OAI/Server/Repository.pm index 374ce29f7b..f4f30f6ece 100644 --- a/Koha/OAI/Server/Repository.pm +++ b/Koha/OAI/Server/Repository.pm @@ -151,7 +151,7 @@ sub get_biblio_marcxml { $with_items = $conf->{format}->{$format}->{include_items}; } my $record = GetMarcBiblio($biblionumber, $with_items, 1); - $record ? $record->as_xml() : undef; + $record ? $record->as_xml_record() : undef; }