Bugzilla – Attachment 77962 Details for
Bug 21184
C4::Items - Remove GetBarcodeFromItemnumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21184: Remove GetBarcodeFromItemnumber
Bug-21184-Remove-GetBarcodeFromItemnumber.patch (text/plain), 1.30 KB, created by
Josef Moravec
on 2018-08-17 05:36:43 UTC
(
hide
)
Description:
Bug 21184: Remove GetBarcodeFromItemnumber
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-08-17 05:36:43 UTC
Size:
1.30 KB
patch
obsolete
>From 6ee9b1f78fed40f9b5696a5249e3e1c9656cb702 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 6 Aug 2018 15:59:52 -0300 >Subject: [PATCH] Bug 21184: Remove GetBarcodeFromItemnumber > >Test plan: > git grep GetBarcodeFromItemnumber >should not return anything > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/Items.pm | 19 ------------------- > 1 file changed, 19 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index a9d3889..df33f59 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -75,7 +75,6 @@ BEGIN { > GetHostItemsInfo > GetItemnumbersForBiblio > get_hostitemnumbers_of >- GetBarcodeFromItemnumber > GetHiddenItemnumbers > ItemSafeToDelete > DelItemCheck >@@ -1359,24 +1358,6 @@ sub get_hostitemnumbers_of { > return @returnhostitemnumbers; > } > >- >-=head2 GetBarcodeFromItemnumber >- >- $result = GetBarcodeFromItemnumber($itemnumber); >- >-=cut >- >-sub GetBarcodeFromItemnumber { >- my ($itemnumber) = @_; >- my $dbh = C4::Context->dbh; >- >- my $rq = >- $dbh->prepare("SELECT barcode FROM items WHERE items.itemnumber=?"); >- $rq->execute($itemnumber); >- my ($result) = $rq->fetchrow; >- return ($result); >-} >- > =head2 GetHiddenItemnumbers > > my @itemnumbers_to_hide = GetHiddenItemnumbers(@items); >-- >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 21184
:
77589
|
77590
|
77955
|
77956
|
77961
|
77962
|
77963
|
78111
|
78112
|
78113