]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Mar 2021 11:04:05 +0000 (12:04 +0100)
commit2bad23f1c1dbd74b81fefb1939b2bcefd914b3d0
treecee3069c5916e625825306f908e8eb6e6af14aaa
parent1ff9160a620519e1626044ff7d9205a0015ac1e4
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>
C4/Letters.pm
t/db_dependent/Letters.t