]> git.koha-community.org Git - koha.git/commit
Bug 26420: Use translated notices for overdue_notices.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 10 Sep 2020 07:42:58 +0000 (09:42 +0200)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 20 Oct 2020 00:57:41 +0000 (13:57 +1300)
commit0dfcff4c8f6759e5f280e90c0a9c5e4944d3c62f
tree4776f8a04b2088edb195559e8511162f472b51dc
parentde25b00a179e7f627282f609094d71e00909c855
Bug 26420: Use translated notices for overdue_notices.pl

This script does not pass the patron's preferred lang for notices.

Test plan:
Enable TranslateNotices
Create a patron with a preferred lang for notices != default
Translate ODUE for this language
Setup the overdue notices for this patron's category
Check an item out for this patron (select the correct due date to
trigger the notice)
Run the script overdue_notices.pl
Check the message_queue table and confirm that the notice enqueued is
translated

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8e397330f687bd0e9e39387e32a8a8acbbb3b31a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit eb88ec34bffb57554f31e7b56cd40b37aaa08e6b)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
misc/cronjobs/overdue_notices.pl