Bug 17744: Remove the oai_dc:dcCollection wrapper in OAI responses
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 8 Dec 2016 09:13:35 +0000 (10:13 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 16 Dec 2016 11:05:33 +0000 (11:05 +0000)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/OAI/Server/Repository.pm

index 374ce29..f4f30f6 100644 (file)
@@ -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;
 }