]> git.koha-community.org Git - koha.git/commit
Bug 27860: Add message_id param to SendQueuedMessages
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 5 Mar 2021 09:01:30 +0000 (10:01 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Mar 2021 15:14:33 +0000 (16:14 +0100)
commit627e1167261e43f23b1173803faecf73cf58c9bc
treeae3e625f4e14d37bef32099947ec679fad84b154
parent988e1198298f3281850613d34f2c48e748915c12
Bug 27860: Add message_id param to SendQueuedMessages

We could use C4::Letter::GetMessage, but the query in
_get_unsent_messages join on borrowers and return the branchcode.
To prevent any regressions it's preferable to not modify
SendQueuedMessages.

Ideally we obviously need a Koha methods to have better and clean code..

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2bad23f1c1dbd74b81fefb1939b2bcefd914b3d0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Letters.pm
t/db_dependent/Letters.t