From 209ff0ad6f8837ebb3035111e018078dc0912282 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 --- 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 374ce29..f4f30f6 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.1.4