Bugzilla – Attachment 150828 Details for
Bug 32894
Objects cache methods' result without invalidation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32894: Make ->sharee looks like others
Bug-32894-Make--sharee-looks-like-others.patch (text/plain), 765 bytes, created by
Jonathan Druart
on 2023-05-09 09:04:15 UTC
(
hide
)
Description:
Bug 32894: Make ->sharee looks like others
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-05-09 09:04:15 UTC
Size:
765 bytes
patch
obsolete
>From 16eec9f2fd8e00ba4b99e62c7187e882a157dde6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 9 May 2023 11:02:30 +0200 >Subject: [PATCH] Bug 32894: Make ->sharee looks like others > >--- > Koha/Virtualshelfshare.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/Virtualshelfshare.pm b/Koha/Virtualshelfshare.pm >index 96ac6658442..48681b81ea2 100644 >--- a/Koha/Virtualshelfshare.pm >+++ b/Koha/Virtualshelfshare.pm >@@ -89,7 +89,8 @@ sub has_expired { > > sub sharee { > my $self = shift; >- return Koha::Patron->_new_from_dbic( $self->_result->borrowernumber ); >+ my $rs = $self->_result->borrowernumber; >+ return Koha::Patron->_new_from_dbic( $rs ); > } > > =head3 _type >-- >2.25.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 32894
:
147499
|
147500
|
147502
|
147503
|
150016
|
150017
|
150018
|
150019
|
150020
|
150021
|
150827
|
150828
|
150847
|
150848
|
150849
|
150850
|
150851
|
150852
|
150853
|
150854
|
150855
|
152086
|
152087
|
152088
|
152089
|
152090
|
152091
|
152092
|
152093
|
152094