Bugzilla – Attachment 93673 Details for
Bug 20780
EDI: Add support for 'AcqItemSetSubfieldsWhenReceived'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20780: (follow-up) Use Koha::Object
Bug-20780-follow-up-Use-KohaObject.patch (text/plain), 1.05 KB, created by
Brendan Gallagher
on 2019-10-04 07:54:32 UTC
(
hide
)
Description:
Bug 20780: (follow-up) Use Koha::Object
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2019-10-04 07:54:32 UTC
Size:
1.05 KB
patch
obsolete
>From 41ff17fc38a32619d00d19ddcc4f94607368de24 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 31 Oct 2018 14:41:12 +0000 >Subject: [PATCH] Bug 20780: (follow-up) Use Koha::Object > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> >--- > Koha/EDI.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/EDI.pm b/Koha/EDI.pm >index 423627e733..d0e8b38703 100644 >--- a/Koha/EDI.pm >+++ b/Koha/EDI.pm >@@ -397,8 +397,8 @@ sub receipt_items { > @affects = split q{\|}, > C4::Context->preference("AcqItemSetSubfieldsWhenReceived"); > if (@affects) { >- $biblionumber = $schema->resultset('Aqorder')->find($ordernumber) >- ->biblionumber->biblionumber; >+ my $order = Koha::Acquisition::Orders->find($ordernumber); >+ $biblionumber = $order->biblionumber; > my $frameworkcode = GetFrameworkCode($biblionumber); > ($itemfield) = GetMarcFromKohaField( 'items.itemnumber', > $frameworkcode ); >-- >2.11.0
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 20780
:
75439
|
75440
|
81730
|
81731
|
93672
|
93673
|
93946
|
93947