From be8d6a2ea2b207df3ac79b589f8a641b8004475f 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 Signed-off-by: Phil Ringnalda --- 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.44.0