Bugzilla – Attachment 77936 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: Remove GetItemnumberFromBarcode
Bug-21183-Remove-GetItemnumberFromBarcode.patch (text/plain), 1.26 KB, created by
Josef Moravec
on 2018-08-16 15:50:10 UTC
(
hide
)
Description:
Bug 21183: Remove GetItemnumberFromBarcode
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-08-16 15:50:10 UTC
Size:
1.26 KB
patch
obsolete
>From 25fd9785edd9c1216077b8d1623fafb25e3aa871 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 6 Aug 2018 15:53:54 -0300 >Subject: [PATCH] Bug 21183: Remove GetItemnumberFromBarcode > >Test plan: > git grep GetItemnumberFromBarcode >should not return anything > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/Items.pm | 18 ------------------ > 1 file changed, 18 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index bf464c3..83a5667 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -75,7 +75,6 @@ BEGIN { > GetHostItemsInfo > GetItemnumbersForBiblio > get_hostitemnumbers_of >- GetItemnumberFromBarcode > GetBarcodeFromItemnumber > GetHiddenItemnumbers > ItemSafeToDelete >@@ -1361,23 +1360,6 @@ sub get_hostitemnumbers_of { > } > > >-=head2 GetItemnumberFromBarcode >- >- $result = GetItemnumberFromBarcode($barcode); >- >-=cut >- >-sub GetItemnumberFromBarcode { >- my ($barcode) = @_; >- my $dbh = C4::Context->dbh; >- >- my $rq = >- $dbh->prepare("SELECT itemnumber FROM items WHERE items.barcode=?"); >- $rq->execute($barcode); >- my ($result) = $rq->fetchrow; >- return ($result); >-} >- > =head2 GetBarcodeFromItemnumber > > $result = GetBarcodeFromItemnumber($itemnumber); >-- >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