Bugzilla – Attachment 93947 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.10 KB, created by
Katrin Fischer
on 2019-10-10 05:55:47 UTC
(
hide
)
Description:
Bug 20780: (follow-up) Use Koha::Object
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-10-10 05:55:47 UTC
Size:
1.10 KB
patch
obsolete
>From 33cb5cb9db6d14abbc5c763e12c2493b555f75be 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > Koha/EDI.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/EDI.pm b/Koha/EDI.pm >index 09e9731958..2562f4e51b 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