Bugzilla – Attachment 78630 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: Add language preference to automatic renewal notice
0001-Bug-21343-Automatic-renewal-notice-will-now-respect-.patch (text/plain), 1.23 KB, created by
Björn Nylén
on 2018-09-14 07:22:09 UTC
(
hide
)
Description:
Bug 21343: Add language preference to automatic renewal notice
Filename:
MIME Type:
Creator:
Björn Nylén
Created:
2018-09-14 07:22:09 UTC
Size:
1.23 KB
patch
obsolete
>From 685e0d1b4feae909dd18b863ba157c55c7b71b6c 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: Automatic renewal notice will now respect patron > language preference. > >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. >--- > 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 6a170ca..033e9a4 100755 >--- a/misc/cronjobs/automatic_renewals.pl >+++ b/misc/cronjobs/automatic_renewals.pl >@@ -111,6 +111,7 @@ if ( $send_notices ) { > items => $issue->itemnumber, > biblio => $item->biblionumber, > }, >+ lang => $patron->lang, > ); > > my $library = Koha::Libraries->find( $patron->branchcode ); >-- >2.1.4 >
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