Bugzilla – Attachment 94686 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: Remove wrong return
Bug-23413-Remove-wrong-return.patch (text/plain), 690 bytes, created by
Nick Clemens
on 2019-10-24 15:41:05 UTC
(
hide
)
Description:
Bug 23413: Remove wrong return
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2019-10-24 15:41:05 UTC
Size:
690 bytes
patch
obsolete
>From a403be1d3ed22395271f29e10a58a1718dda2983 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 24 Oct 2019 15:40:47 +0000 >Subject: [PATCH] Bug 23413: Remove wrong return > >--- > Koha/Item.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index b5b3ce06f4..a9cca3f727 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -140,7 +140,6 @@ Return holds attached to an item, optionally accept a hashref of params to pass > sub holds { > my ( $self,$params ) = @_; > my $holds_rs = $self->_result->reserves->search($params); >- return unless $holds_rs->count; > return Koha::Holds->_new_from_dbic( $holds_rs ); > } > >-- >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