Bugzilla – Attachment 96474 Details for
Bug 22569
Add a 'Transfers to send' report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add inbound_transfers to Koha::Library
Add-inboundtransfers-to-KohaLibrary.patch (text/plain), 1.03 KB, created by
Martin Renvoize (ashimema)
on 2019-12-19 06:53:18 UTC
(
hide
)
Description:
Add inbound_transfers to Koha::Library
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-12-19 06:53:18 UTC
Size:
1.03 KB
patch
obsolete
>From e346f68585811e25913a2d78fb1191dd3850a7c6 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 18 Dec 2019 20:57:33 +0000 >Subject: [PATCH] Add inbound_transfers to Koha::Library > >https://bugs.koha-community.org/show_bug.cgi?id=22569 >--- > Koha/Library.pm | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/Koha/Library.pm b/Koha/Library.pm >index 31480e833b..17462b5341 100644 >--- a/Koha/Library.pm >+++ b/Koha/Library.pm >@@ -64,6 +64,20 @@ sub outgoing_transfers { > return Koha::Item::Transfers->_new_from_dbic( $rs ); > } > >+=head3 inbound_transfers >+ >+ my $inbound_transfers = Koha::Library->inbound_transfers; >+ >+Returns the inbound item transfers associated with this Library. >+ >+=cut >+ >+sub inbound_transfers { >+ my ( $self ) = @_; >+ my $rs = $self->_result->branchtransfers_tobranches; >+ return Koha::Item::Transfers->_new_from_dbic( $rs ); >+} >+ > =head3 get_effective_marcorgcode > > my $marcorgcode = Koha::Libraries->find( $library_id )->get_effective_marcorgcode(); >-- >2.20.1
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 22569
:
90458
|
90477
|
90486
|
90487
|
94650
|
94651
|
94658
|
94659
|
96471
|
96472
|
96473
|
96474
|
96475
|
96478
|
96479
|
96516
|
96517
|
97392
|
97393
|
107258
|
107259
|
107260
|
107306
|
107307
|
107308
|
110284
|
110285
|
110286
|
110543
|
110544
|
110545
|
116572
|
116573
|
117612
|
117613
|
117840
|
117841
|
117842
|
117843
|
117847
|
117848
|
117878
|
117879
|
117880
|
117881