Bugzilla – Attachment 78058 Details for
Bug 21183
C4::Items - Remove GetItemnumberFromBarcode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21183: Fix ->get_column call context
Bug-21183-Fix--getcolumn-call-context.patch (text/plain), 1.07 KB, created by
Katrin Fischer
on 2018-08-21 21:59:24 UTC
(
hide
)
Description:
Bug 21183: Fix ->get_column call context
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-08-21 21:59:24 UTC
Size:
1.07 KB
patch
obsolete
>From 9080d402ff14b363b8566839fe88d8bd4d0363b2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 16 Aug 2018 12:12:11 -0300 >Subject: [PATCH] Bug 21183: Fix ->get_column call context > >I am not sure to understand what's going on here. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > tools/batchMod.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index c6c424f..d3c8d50 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -267,7 +267,8 @@ if ($op eq "show"){ > > my $existing_items = Koha::Items->search({ barcode => \@barcodelist }); > @itemnumbers = $existing_items->get_column('itemnumber'); >- my %exists = map {$_=>1} @{$existing_items->get_column('barcode')}; >+ my @barcodes = $existing_items->get_column('barcode'); >+ my %exists = map {$_=>1} @barcodes; > @notfoundbarcodes = grep { !$exists{$_} } @barcodelist; > } > } >-- >2.1.4
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 21183
:
77586
|
77587
|
77687
|
77930
|
77933
|
77936
|
77937
|
77938
|
78056
|
78057
| 78058