From 3a2a0eef1043f0e3432531026dae216fa087d674 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 --- 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.11.0