Bugzilla – Attachment 93505 Details for
Bug 21343
Automatic renewal cronjob doesn't send notices according to patron language preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21343: Respect patron language preference in automtic renewals
Bug-21343-Respect-patron-language-preference-in-au.patch (text/plain), 1.29 KB, created by
Martin Renvoize (ashimema)
on 2019-10-02 22:49:17 UTC
(
hide
)
Description:
Bug 21343: Respect patron language preference in automtic renewals
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-10-02 22:49:17 UTC
Size:
1.29 KB
patch
obsolete
>From 3b62ec75793614cae01790a4bf4017008dc5cb38 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Nyl=C3=A9n?= <bjorn.nylen@ub.lu.se> >Date: Fri, 14 Sep 2018 08:19:46 +0200 >Subject: [PATCH] Bug 21343: Respect patron language preference in automtic > renewals > >To test: >1) Set up different automatic renewal notices for Default and one other language >2) Make sure you have checkouts due for auto-renewal to patrons with non-Default language pref >3) Run automatic_renewals.pl . All patrons will get the default-language notice >4) Apply patch. >5) Repeat 2) >6) Run automatic_renewals.pl . Patrons will receive notices according to their language preference. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > misc/cronjobs/automatic_renewals.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl >index 8162472674..fb1cf03ba9 100755 >--- a/misc/cronjobs/automatic_renewals.pl >+++ b/misc/cronjobs/automatic_renewals.pl >@@ -112,6 +112,7 @@ if ( $send_notices ) { > items => $issue->itemnumber, > biblio => $item->biblionumber, > }, >+ lang => $patron->lang, > ); > > my $library = Koha::Libraries->find( $patron->branchcode ); >-- >2.20.1
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 21343
:
78630
|
93504
|
93505
|
93566