Fixes bug 4369: Local use does not update datelastseen
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
d08cd6bfc0
commit
2d3722b5a3
1 changed files with 1 additions and 0 deletions
|
@ -689,6 +689,7 @@ sub CanBookBeIssued {
|
|||
if ( $borrower->{'category_type'} eq 'X' && ( $item->{barcode} )) {
|
||||
# stats only borrower -- add entry to statistics table, and return issuingimpossible{STATS} = 1 .
|
||||
&UpdateStats(C4::Context->userenv->{'branch'},'localuse','','',$item->{'itemnumber'},$item->{'itemtype'},$borrower->{'borrowernumber'});
|
||||
ModDateLastSeen( $item->{'itemnumber'} );
|
||||
return( { STATS => 1 }, {});
|
||||
}
|
||||
if ( $borrower->{flags}->{GNA} ) {
|
||||
|
|
Loading…
Reference in a new issue