From 59d2080d204f3a6b980be35744564500d2a05bdb Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 8 Dec 2016 10:13:35 +0100 Subject: [PATCH] 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 (cherry picked from commit 3e9dc5d51c5a14fcefe8611c532fe970e930b72a) Signed-off-by: Katrin Fischer --- Koha/OAI/Server/Repository.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5