Bugzilla – Attachment 77686 Details for
Bug 21201
C4::Items - Remove GetItemnumbersForBiblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21201: Remove GetItemnumbersForBiblio
Bug-21201-Remove-GetItemnumbersForBiblio.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2018-08-10 14:59:54 UTC
(
hide
)
Description:
Bug 21201: Remove GetItemnumbersForBiblio
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-08-10 14:59:54 UTC
Size:
1.33 KB
patch
obsolete
>From 7b2dd9901b18767d26505935e9203b6abed80288 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 6 Aug 2018 16:40:59 -0300 >Subject: [PATCH] Bug 21201: Remove GetItemnumbersForBiblio > >--- > C4/Items.pm | 21 --------------------- > 1 file changed, 21 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index df33f595a2..360378b32f 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -73,7 +73,6 @@ BEGIN { > GetItemsInfo > GetItemsLocationInfo > GetHostItemsInfo >- GetItemnumbersForBiblio > get_hostitemnumbers_of > GetHiddenItemnumbers > ItemSafeToDelete >@@ -1290,26 +1289,6 @@ sub GetLastAcquisitions { > return @results; > } > >-=head2 GetItemnumbersForBiblio >- >- my $itemnumbers = GetItemnumbersForBiblio($biblionumber); >- >-Given a single biblionumber, return an arrayref of all the corresponding itemnumbers >- >-=cut >- >-sub GetItemnumbersForBiblio { >- my $biblionumber = shift; >- my @items; >- my $dbh = C4::Context->dbh; >- my $sth = $dbh->prepare("SELECT itemnumber FROM items WHERE biblionumber = ?"); >- $sth->execute($biblionumber); >- while (my $result = $sth->fetchrow_hashref) { >- push @items, $result->{'itemnumber'}; >- } >- return \@items; >-} >- > =head2 get_hostitemnumbers_of > > my @itemnumbers_of = get_hostitemnumbers_of($biblionumber); >-- >2.11.0
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 21201
:
77685
|
77686
|
77964
|
77965
|
78114
|
78115