From f29b9158d2a23f3a3475bf435fee0fc27d041e08 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 29 Jul 2020 09:39:43 +0200 Subject: [PATCH] Bug 25995: Remove existing CATALOGUING/MODIFY log We had a log when the item was modified. We previously removed such cataloguing log from circulation (bug 18816) --- tools/batch_extend_due_dates.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batch_extend_due_dates.pl b/tools/batch_extend_due_dates.pl index 46388dac65..5dd222314d 100755 --- a/tools/batch_extend_due_dates.pl +++ b/tools/batch_extend_due_dates.pl @@ -147,7 +147,7 @@ elsif ( $op eq 'modify' ) { $checkout->date_due($new_due_date)->store; # Update items.onloan - $checkout->item->onloan($new_due_date)->store; + $checkout->item->onloan($new_due_date)->store({ log_action => 0 }); logaction("CIRCULATION", "MODIFY", $checkout->borrowernumber, $checkout->itemnumber) if $RenewalLog; } -- 2.20.1