@@ -, +, @@ --- C4/Reserves.pm | 6 ++++++ 1 file changed, 6 insertions(+) --- a/C4/Reserves.pm +++ a/C4/Reserves.pm @@ -1026,6 +1026,9 @@ sub ModReserveFill { } ); + logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) ) + if C4::Context->preference('HoldsLog'); + # FIXME Must call Koha::Hold->cancel ? => No, should call ->filled and add the correct log Koha::Old::Hold->new( $hold->unblessed() )->store(); @@ -1126,6 +1129,9 @@ sub ModReserveAffect { CartToShelf( $itemnumber ); } + logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) ) + if C4::Context->preference('HoldsLog'); + return; } --