From ed4c60162fd5e23d4a1c29cdeae9863df256f007 Mon Sep 17 00:00:00 2001 From: Nick Clemens 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 Signed-off-by: David Nind Signed-off-by: Emmi Takkinen Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit e963ca9527a7ce45698ae021509269fea5f4220f) Signed-off-by: Fridolin Somers --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 3569b9aa4b..5747775e4b 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1574,6 +1574,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.39.5