Bug 28455: lastseen should be updated at checkout if TrackLastPatronActivity is enabled
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
e6c04ff745
commit
3a2a0eef10
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue