Bugzilla – Attachment 110274 Details for
Bug 25757
Add a Koha::Item::Transfer->transit method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25757: Add item relation to Koha::Item::Transfer
Bug-25757-Add-item-relation-to-KohaItemTransfer.patch (text/plain), 889 bytes, created by
Martin Renvoize (ashimema)
on 2020-09-17 16:21:35 UTC
(
hide
)
Description:
Bug 25757: Add item relation to Koha::Item::Transfer
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-09-17 16:21:35 UTC
Size:
889 bytes
patch
obsolete
>From 582fe80231bb79a4e844d37872415c418938391e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 16 Jun 2020 11:36:19 +0100 >Subject: [PATCH] Bug 25757: Add item relation to Koha::Item::Transfer > >Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk> >--- > Koha/Item/Transfer.pm | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/Koha/Item/Transfer.pm b/Koha/Item/Transfer.pm >index 4eb16b2347..50868aba76 100644 >--- a/Koha/Item/Transfer.pm >+++ b/Koha/Item/Transfer.pm >@@ -33,6 +33,20 @@ Koha::Item::Transfer - Koha Item Transfer Object class > > =cut > >+=head3 item >+ >+ my $item = $transfer->item; >+ >+Returns the associated item for this transfer. >+ >+=cut >+ >+sub item { >+ my ($self) = @_; >+ my $item_rs = $self->_result->itemnumber; >+ return Koha::Item->_new_from_dbic($item_rs); >+} >+ > =head3 type > > =cut >-- >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 25757
:
105900
|
105901
|
105902
|
107241
|
107242
|
107243
|
107296
|
107297
|
107298
|
110274
|
110275
|
110276
|
110296
|
110297
|
110298
|
110507
|
110508
|
110509
|
116547
|
116548
|
116549
|
117580
|
117581
|
117582