Bug 32805: Update location when recording a localuse in statistics table
To test: 1. Create a statistical patron and checkout, checkin to them. 2. Notice in the statistics table that the location is NULL 3. Apply patch 4. Try steps 1-2 again 5. The location should be correctly recorded in statistics.location Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
9729621c1d
commit
14b2c2f0b2
|
|
@ -824,6 +824,7 @@ sub CanBookBeIssued {
|
|||
borrowernumber => $patron->borrowernumber,
|
||||
ccode => $item_object->ccode,
|
||||
categorycode => $patron->categorycode,
|
||||
location => $item_object->location,
|
||||
}
|
||||
);
|
||||
ModDateLastSeen( $item_object->itemnumber ); # FIXME Move to Koha::Item
|
||||
|
|
|
|||
Loading…
Reference in New Issue