From 8ccc753bce5a170e3189a30606e9b799773391eb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 25 May 2021 18:20:25 +0000 Subject: [PATCH 1/2] Bug 28455: lastseen should be updated at checkout if TrackLastPatronActivity is enabled Signed-off-by: Andrew Fuerste-Henry Signed-off-by: David Nind Signed-off-by: Emmi Takkinen --- 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.25.1