]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 18 Sep 2020 08:38:05 +0000 (10:38 +0200)
commit8e397330f687bd0e9e39387e32a8a8acbbb3b31a
tree4e27b33a97acfca28e73d565d4f10ca784352e3d
parent89716a78e9a7ed4c80dddba916d52737c7f2b468
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>
misc/cronjobs/overdue_notices.pl