[Koha-patches] [PATCH] Fixes bug 4369: Local use does not update datelastseen
Ian Walls
ian.walls at bywatersolutions.com
Mon Apr 5 19:00:02 CEST 2010
---
C4/Circulation.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index d780189..e3122d0 100644
--- a/C4/Circulation.pm
+++ b/C4/Circulation.pm
@@ -688,6 +688,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} ) {
--
1.5.6.5
More information about the Koha-patches
mailing list