Bugzilla – Attachment 56684 Details for
Bug 14752
Add multiple copies to a basket at once
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14752 - Followup to fix error if barcode fields undefined
Bug-14752---Followup-to-fix-error-if-barcode-field.patch (text/plain), 1.06 KB, created by
Jonathan Druart
on 2016-10-20 07:20:32 UTC
(
hide
)
Description:
Bug 14752 - Followup to fix error if barcode fields undefined
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-10-20 07:20:32 UTC
Size:
1.06 KB
patch
obsolete
>From 0e4133082c42302be17e95b205ee0d8279a794d1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 19 Oct 2016 10:09:56 +0000 >Subject: [PATCH] Bug 14752 - Followup to fix error if barcode fields undefined > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > acqui/addorder.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/acqui/addorder.pl b/acqui/addorder.pl >index 5223b7f..c35b851 100755 >--- a/acqui/addorder.pl >+++ b/acqui/addorder.pl >@@ -316,6 +316,7 @@ if ( $basket->{is_standing} || $orderinfo->{quantity} ne '0' ) { > 'ITEM'); > my $record=MARC::Record::new_from_xml($xml, 'UTF-8'); > my ($barcodefield,$barcodesubfield) = GetMarcFromKohaField('items.barcode'); >+ next unless ( defined $barcodefield && defined $barcodesubfield ); > my $barcode = $record->subfield($barcodefield,$barcodesubfield) || ''; > my $aBpref = C4::Context->preference('autoBarcode'); > if( $barcode eq '' && $aBpref ne 'OFF'){ >-- >2.8.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 14752
:
46093
|
46439
|
46832
|
46833
|
47223
|
47252
|
47477
|
48254
|
51481
|
52083
|
52587
|
52588
|
52605
|
52606
|
55527
|
55528
|
56649
| 56684