From e963ca9527a7ce45698ae021509269fea5f4220f 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 --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 0b6d66f8c3..e2f5390369 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.39.5