Bugzilla – Attachment 121396 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), 955 bytes, created by
Nick Clemens (kidclamp)
on 2021-05-25 18:24:14 UTC
(
hide
)
Description:
Bug 28455: lastseen should be updated at checkout if TrackLastPatronActivity is enabled
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-05-25 18:24:14 UTC
Size:
955 bytes
patch
obsolete
>From f87dc32bf741197f5f55045571bdd9c12b2e69cb 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 > >--- > C4/Circulation.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 10db0d226a..509d39afdc 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1576,6 +1576,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.11.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 28455
:
121396
|
121481
|
121609
|
121617
|
121618
|
122482
|
122483
|
122493
|
122494