Bugzilla – Attachment 78056 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.32 KB, created by
Katrin Fischer
on 2018-08-21 21:59:16 UTC
(
hide
)
Description:
Bug 21183: Remove GetItemnumberFromBarcode
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-08-21 21:59:16 UTC
Size:
1.32 KB
patch
obsolete
>From 8039d29ac8244dbc6cf2db2c48631c502a8d88fd 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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