Bugzilla – Attachment 122493 Details for
Bug 28455
If TrackLastPatronActivity is enabled we should update 'lastseen' field on checkouts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28455: lastseen should be updated at checkout if TrackLastPatronActivity is enabled
Bug-28455-lastseen-should-be-updated-at-checkout-i.patch (text/plain), 1.17 KB, created by
Martin Renvoize
on 2021-06-29 14:07:46 UTC
(
hide
)
Description:
Bug 28455: lastseen should be updated at checkout if TrackLastPatronActivity is enabled
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2021-06-29 14:07:46 UTC
Size:
1.17 KB
patch
obsolete
>From 6129e9323b889eeaa8b9747fdd92e561a01ec36f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 25 May 2021 18:20:25 +0000 >Subject: [PATCH] Bug 28455: lastseen should be updated at checkout if > TrackLastPatronActivity is enabled > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > C4/Circulation.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 89e2737f56..330b1bbaeb 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1575,6 +1575,7 @@ sub AddIssue { > )->store; > } > $issue->discard_changes; >+ C4::Auth::track_login_daily( $borrower->{userid} ); > if ( $item_object->location && $item_object->location eq 'CART' > && ( !$item_object->permanent_location || $item_object->permanent_location ne 'CART' ) ) { > ## Item was moved to cart via UpdateItemLocationOnCheckin, anything issued should be taken off the cart. >-- >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 28455
:
121396
|
121481
|
121609
|
121617
|
121618
|
122482
|
122483
| 122493 |
122494