Bugzilla – Attachment 92542 Details for
Bug 23413
Add a holds routine to Koha::Items to fetch related holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23413: (follow-up) Rename variables
Bug-23413-follow-up-Rename-variables.patch (text/plain), 907 bytes, created by
Nick Clemens (kidclamp)
on 2019-09-03 11:21:19 UTC
(
hide
)
Description:
Bug 23413: (follow-up) Rename variables
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-09-03 11:21:19 UTC
Size:
907 bytes
patch
obsolete
>From 7c7c59990b4b6c620c709ad09a77d84177267034 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 3 Sep 2019 11:14:24 +0000 >Subject: [PATCH] Bug 23413: (follow-up) Rename variables > >--- > Koha/Item.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index 552e977e97..5839cf5676 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -138,9 +138,9 @@ Return holds attached to an item, optionally accept a hashref of params to pass > > sub holds { > my ( $self,$params ) = @_; >- my $transfer_rs = $self->_result->reserves->search($params); >- return unless $transfer_rs->count; >- return Koha::Holds->_new_from_dbic( $transfer_rs ); >+ my $holds_rs = $self->_result->reserves->search($params); >+ return unless $holds_rs->count; >+ return Koha::Holds->_new_from_dbic( $holds_rs ); > } > > =head3 get_transfer >-- >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 23413
:
91912
|
92123
|
92128
|
92129
| 92542 |
92543
|
92544
|
94686
|
94722