Bugzilla – Attachment 140511 Details for
Bug 28553
Patrons can be set to receive auto_renew notices as SMS, but Koha does not generate them
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28553: [QA followup] default to auto renew email when cron switched used
Bug-28553-QA-followup-default-to-auto-renew-email-.patch (text/plain), 1.36 KB, created by
David Cook
on 2022-09-13 06:49:18 UTC
(
hide
)
Description:
Bug 28553: [QA followup] default to auto renew email when cron switched used
Filename:
MIME Type:
Creator:
David Cook
Created:
2022-09-13 06:49:18 UTC
Size:
1.36 KB
patch
obsolete
>From 1d5f0b94945869537b2a425e0ad30b0dbef922bb Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 13 Sep 2022 06:46:46 +0000 >Subject: [PATCH] Bug 28553: [QA followup] default to auto renew email when > cron switched used > >This patch defaults to using "email" rather than "sms" notices >when AutoRenewalNotices is set to use the --send-notices cron switch > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > misc/cronjobs/automatic_renewals.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl >index 923015a1fa..4d9ff5cdd0 100755 >--- a/misc/cronjobs/automatic_renewals.pl >+++ b/misc/cronjobs/automatic_renewals.pl >@@ -235,7 +235,7 @@ if ( $send_notices && $confirm ) { > for my $issue ( @{ $report{$borrowernumber} } ) { > my $item = $issue->item; > # Force sending of email and only email if pref is set to "cron" >- my @transports = $send_notices_pref eq 'preferences' ? keys %{ $borrower_preferences->{'transports'} } : 'sms'; >+ my @transports = $send_notices_pref eq 'preferences' ? keys %{ $borrower_preferences->{'transports'} } : 'email'; > foreach my $transport ( @transports ) { > my $letter = C4::Letters::GetPreparedLetter ( > module => 'circulation', >-- >2.30.2
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 28553
:
137830
|
139021
|
140412
|
140510
| 140511