[Koha-bugs] [Bug 33992] Only consider the date when labelling a waiting recall as problematic

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 01:17:13 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33992

Aleisha Amohia <aleisha at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Needs Signoff

--- Comment #6 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Hi David,

Sorry I didn't realise this was already Signed off, I've just amended the
second patch - this was the only change from the patch you had already tested.

--- a/misc/cronjobs/recalls/expire_recalls.pl
+++ b/misc/cronjobs/recalls/expire_recalls.pl
@@ -42,7 +42,7 @@ cronlogaction({ info => $command_line_options });
 my $recalls = Koha::Recalls->search({ completed => 0 });
 my $today = dt_from_string()->truncate( to  => 'day' );
 while( my $recall = $recalls->next ) {
-    if ( ( $recall->requested or $recall->overdue ) and
$recall->expiration_date ) {
+    if ( ( $recall->requested or $recall->overdue or $recall->waiting ) and
$recall->expiration_date ) {

Thanks
Aleisha

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list