Signed-off-by: Srikanth Dhondi <srikanth@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
1) Activate ILS-DI in system preferencs
2) Access http://.../cgi-bin/koha/ilsdi.pl to see documentation
3) Try http://.../cgi-bin/koha/ilsdi.pl?service=GetRecords&id=12+14
with various valid biblionumbers for your system
4) Verify 952 is included in the <marcxml> and all other data displays
correctly
All tests pass.
http://bugs.koha-community.org/show_bug.cgi?id=9010
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
$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'};