Bugzilla – Attachment 81731 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), 1007 bytes, created by
Martin Renvoize (ashimema)
on 2018-10-31 14:44:51 UTC
(
hide
)
Description:
Bug 20780: (follow-up) Use Koha::Object
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-10-31 14:44:51 UTC
Size:
1007 bytes
patch
obsolete
>From a9c79df4511c3913456c59bc81ecb8cff7010746 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 > >--- > Koha/EDI.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/EDI.pm b/Koha/EDI.pm >index f6fd106256..daf29e24a3 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.19.1
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