Bugzilla – Attachment 92734 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), 1.00 KB, created by
Martin Renvoize (ashimema)
on 2019-09-12 14:59:04 UTC
(
hide
)
Description:
Bug 23599: Avoid exploding in search_with_library_limits when no library is passed
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-09-12 14:59:04 UTC
Size:
1.00 KB
patch
obsolete
>From a367e2b99583354dbd0b0c732f39f2f6b027f5b6 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> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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.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 23599
:
92730
|
92731
|
92733
| 92734