Bugzilla – Attachment 110507 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), 947 bytes, created by
Katrin Fischer
on 2020-09-21 20:55:34 UTC
(
hide
)
Description:
Bug 25757: Add item relation to Koha::Item::Transfer
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-21 20:55:34 UTC
Size:
947 bytes
patch
obsolete
>From a714307849d9ab0402cc80ca9f08671d0b81fab0 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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.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 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