From a4bee10d0b73e12721e65908283a37a675bb44c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Nyl=C3=A9n?= 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. Sponsored-by: Lund University Library Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- 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.39.5