Bugzilla – Attachment 168688 Details for
Bug 37271
Recall status should be 'requested' in overdue_recalls.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37271: Recall status should be 'requested' in overdue_recalls.pl
Bug-37271-Recall-status-should-be-requested-in-ove.patch (text/plain), 1.26 KB, created by
Phil Ringnalda
on 2024-07-10 04:29:28 UTC
(
hide
)
Description:
Bug 37271: Recall status should be 'requested' in overdue_recalls.pl
Filename:
MIME Type:
Creator:
Phil Ringnalda
Created:
2024-07-10 04:29:28 UTC
Size:
1.26 KB
patch
obsolete
>From be8d6a2ea2b207df3ac79b589f8a641b8004475f Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >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 <phil@chetcolibrary.org> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37271
:
168581
| 168688