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 <phil@chetcolibrary.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
cf2fcbda75
commit
771db8c399
1 changed files with 1 additions and 1 deletions
|
@ -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' });
|
||||
|
|
Loading…
Reference in a new issue