Bugzilla – Attachment 161324 Details for
Bug 34893
ILS-DI can return the wrong patron for AuthenticatePatron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34893: [22.05] Add a Koha::Patron->update_lastseen method
Bug-34893-2205-Add-a-KohaPatron-updatelastseen-met.patch (text/plain), 969 bytes, created by
Aleisha Amohia
on 2024-01-24 10:01:38 UTC
(
hide
)
Description:
Bug 34893: [22.05] Add a Koha::Patron->update_lastseen method
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-01-24 10:01:38 UTC
Size:
969 bytes
patch
obsolete
>From 66dd504430b3ddcaa7c26b9f5003969d81f0acd7 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 24 Jan 2024 09:59:43 +0000 >Subject: [PATCH] Bug 34893: [22.05] Add a Koha::Patron->update_lastseen method > >Without this patch, we get an error trace whe calling AuthenticatePatron > >The method Koha::Patron->update_lastseen is not covered by tests! >--- > Koha/Patron.pm | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index 365daf2adc7..c3924b8040b 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -2188,6 +2188,20 @@ sub decoded_secret { > return $self->secret; > } > >+=head2 update_lastseen >+ >+ $patron->update_lastseen(); >+ >+ Patron method to update lastseen field in borrower >+ to record that patron has been seen via sip connection >+ >+=cut >+ >+sub update_lastseen { >+ my ( $self ) = @_; >+ $self->track_login; >+} >+ > =head2 Internal methods > > =head3 _type >-- >2.30.2
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 34893
:
156121
|
156123
|
159311
|
159314
|
159315
|
159356
|
159441
|
159506
|
159507
|
159508
|
159509
|
159797
|
159798
|
159799
|
159800
|
159893
|
161097
|
161098
|
161099
|
161100
|
161101
| 161324 |
163964