Bugzilla – Attachment 14000 Details for
Bug 9260
koha-run-backups complains "[: 97: missing ]"
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), 1.42 KB, created by
Vitor Fernandes
on 2012-12-11 15:16:41 UTC
(
hide
)
Description:
Bug 9019: Return item fields in ILS-DI GetRecords
Filename:
MIME Type:
Creator:
Vitor Fernandes
Created:
2012-12-11 15:16:41 UTC
Size:
1.42 KB
patch
obsolete
>From 15ed5be8c3db1b0da9c2e15253ffe38e51454dc4 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 > >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> > >http://bugs.koha-community.org/show_bug.cgi?id=9260 >--- > 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
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 9260
:
13998
|
14000
|
14002
|
14222