From 449dd350635702d766bb15d2045148f6f081bf04 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 7 Nov 2012 10:51:49 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 9019: Return item fields in ILS-DI GetRecords Signed-off-by: Srikanth Dhondi --- C4/ILSDI/Services.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 5a62954..68cbdb3 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -197,6 +197,12 @@ sub GetRecords { $biblioitem->{code} = "RecordNotFound"; } + my $embed_items = 1; + my $record = GetMarcBiblio($biblionumber, $embed_items); + if ($record) { + $biblioitem->{marcxml} = $record->as_xml_record(); + } + # We don't want MARC to be displayed delete $biblioitem->{'marc'}; -- 1.7.9.5