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> (cherry picked from commit771db8c399) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit23660524f2) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
998762580b
commit
9f87bf577a
|
|
@ -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 New Issue