Bugzilla – Attachment 92731 Details for
Bug 23599
Koha::Objects::Limit::Library fails if no library passed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23599: Avoid exploding in search_with_library_limits when no library is passed
Bug-23599-Avoid-exploding-in-searchwithlibrarylimi.patch (text/plain), 960 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2019-09-12 14:39:30 UTC
(
hide
)
Description:
Bug 23599: Avoid exploding in search_with_library_limits when no library is passed
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-09-12 14:39:30 UTC
Size:
960 bytes
patch
obsolete
>From bd00d5a607bfe1fa972e4fc60b0215fe3129408a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 12 Sep 2019 11:38:14 -0300 >Subject: [PATCH] Bug 23599: Avoid exploding in search_with_library_limits when > no library is passed > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Objects/Limit/Library.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Objects/Limit/Library.pm b/Koha/Objects/Limit/Library.pm >index 2b54370d23..bb10f11e0d 100644 >--- a/Koha/Objects/Limit/Library.pm >+++ b/Koha/Objects/Limit/Library.pm >@@ -53,7 +53,7 @@ limits > sub search_with_library_limits { > my ( $self, $params, $attributes, $library_id ) = @_; > >- return $self->SUPER::search( $params, $attributes ) unless $library_id; >+ return $self->search( $params, $attributes ) unless $library_id; > > my $library_limits = $self->object_class()->_library_limits; > my $library_limits_table >-- >2.23.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 23599
:
92730
|
92731
|
92733
|
92734