Bugzilla – Attachment 78115 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.47 KB, created by
Marcel de Rooy
on 2018-08-24 08:29:52 UTC
(
hide
)
Description:
Bug 21201: Remove GetItemnumbersForBiblio
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-08-24 08:29:52 UTC
Size:
1.47 KB
patch
obsolete
>From f92b7ed120a39d48ab5a1e0b4d753d16ccc706c8 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 >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/Items.pm | 21 --------------------- > 1 file changed, 21 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index df33f59..360378b 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.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 21201
:
77685
|
77686
|
77964
|
77965
|
78114
| 78115