From e76289b2cb5070526b84758e2f3228d84e977c25 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 2 Jan 2017 11:55:45 +0100 Subject: [PATCH] Bug 17744: Remove the oai_dc:dcCollection wrapper in OAI responses --- opac/oai.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/oai.pl b/opac/oai.pl index c8ea08b..2f71559 100755 --- a/opac/oai.pl +++ b/opac/oai.pl @@ -718,7 +718,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