Bugzilla – Attachment 13279 Details for
Bug 9019
ILS-DI: GetRecords should return item fields in marcxml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9019: Return item fields in ILS-DI GetRecords
Bug-9019-Return-item-fields-in-ILS-DI-GetRecords.patch (text/plain), 842 bytes, created by
Julian Maurice
on 2012-11-07 12:34:31 UTC
(
hide
)
Description:
Bug 9019: Return item fields in ILS-DI GetRecords
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-11-07 12:34:31 UTC
Size:
842 bytes
patch
obsolete
>From 6570241c1339cede0f6707972dbf4fa064a0c5ed Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 7 Nov 2012 10:51:49 +0100 >Subject: [PATCH] Bug 9019: Return item fields in ILS-DI GetRecords > >--- > C4/ILSDI/Services.pm | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 12f869f..a2f0652 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.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9019
:
13279
|
13414
|
13986