Bugzilla – Attachment 143912 Details for
Bug 29100
Add checkouts data loop to predue/due notices script (advance_notices.pl)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29100: (QA follow-up) Rename issue(s) keys to checkout(s)
Bug-29100-QA-follow-up-Rename-issues-keys-to-check.patch (text/plain), 2.78 KB, created by
Katrin Fischer
on 2022-11-15 15:32:43 UTC
(
hide
)
Description:
Bug 29100: (QA follow-up) Rename issue(s) keys to checkout(s)
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-11-15 15:32:43 UTC
Size:
2.78 KB
patch
obsolete
>From 54d2429d13ba836984edc85659db7f5090da546a Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Tue, 15 Nov 2022 06:57:44 -0500 >Subject: [PATCH] Bug 29100: (QA follow-up) Rename issue(s) keys to checkout(s) > >Adapted test plan: > >1) Apply this patch >2) For DUE and PREDUE notices, set the message body to the following: > Title: [% checkout.title %] >3) For DUEDGST and PREDUEDGST notices, set the message body to the following: > Titles: > [% FOREACH c IN checkouts %] > * [% c.title %][% END %] >4) Generate PREDUE and DUE notices for patrons including digests >5) Verify those notices contain the checkout titles > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > misc/cronjobs/advance_notices.pl | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/misc/cronjobs/advance_notices.pl b/misc/cronjobs/advance_notices.pl >index e964873e0c..3792639f87 100755 >--- a/misc/cronjobs/advance_notices.pl >+++ b/misc/cronjobs/advance_notices.pl >@@ -306,7 +306,7 @@ UPCOMINGITEM: foreach my $upcoming ( @$upcoming_dues ) { > itemnumber => $upcoming->{'itemnumber'}, > substitute => { > 'items.content' => $title, >- issue => $item_info, >+ checkout => $item_info, > }, > message_transport_type => $transport, > } ) >@@ -355,7 +355,7 @@ UPCOMINGITEM: foreach my $upcoming ( @$upcoming_dues ) { > itemnumber => $upcoming->{'itemnumber'}, > substitute => { > 'items.content' => $title, >- issue => $item_info, >+ checkout => $item_info, > }, > message_transport_type => $transport, > } ) >@@ -608,11 +608,11 @@ sub send_digests { > { > letter_code => $params->{letter_code}, > borrowernumber => $borrowernumber, >- issues => \@issues, >+ checkouts => \@issues, > substitute => { > count => $count, > 'items.content' => $titles, >- issues => \@issues, >+ checkouts => \@issues, > %branch_info > }, > itemnumbers => \@itemnumbers, >-- >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 29100
:
125217
|
125218
|
125219
|
134489
|
134490
|
134926
|
134927
|
137996
|
143898
|
143910
|
143911
|
143912
|
145235