From 1623ae716114457548c56ef62e958a50fceaf600 Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Mon, 8 Jul 2024 09:35:12 +0000 Subject: [PATCH] Bug 37271: Recall status should be 'requested' in overdue_recalls.pl In "Bug 19532: Make recalls.status an ENUM" one-letter statuses were replaced by their verbal equivalents. But in overdue_recalls.pl remained "R". As a result, recalls never overdue. No test plan provided--obvious correction. Sponsored-by: Ignatianum University in Cracow --- misc/cronjobs/recalls/overdue_recalls.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/recalls/overdue_recalls.pl b/misc/cronjobs/recalls/overdue_recalls.pl index 81b4070383..6cbbd663d2 100755 --- a/misc/cronjobs/recalls/overdue_recalls.pl +++ b/misc/cronjobs/recalls/overdue_recalls.pl @@ -38,7 +38,7 @@ my $command_line_options = join(" ",@ARGV); cronlogaction({ info => $command_line_options }); -my $recalls = Koha::Recalls->search({ status => 'R' }); +my $recalls = Koha::Recalls->search({ status => 'requested' }); while( my $recall = $recalls->next ) { if ( $recall->should_be_overdue ){ $recall->set_overdue({ interface => 'COMMANDLINE' }); -- 2.39.2