[Koha-bugs] [Bug 35148] before_send_messages plugin hook does not pass the --where option
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 25 15:43:41 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35148
--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 157801
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157801&action=edit
Bug 35148: before_send_messages plugin hook does not pass the --where option
The before_send_messages plugin hook currently sends all the non-smtp related
options with the exception of the --where option. This should be added.
Test Plan:
1) Install the latest version of the kitchen sink plugin (
https://github.com/bywatersolutions/dev-koha-plugin-kitchen-sink/releases
)
2) Apply this patch
3) Run process_message_queue.pl with a --where option
4) Run the command: ./misc/cronjobs/process_message_queue.pl --where
"letter_code='test'"
5) Note the output looks like:
Plugin hook before_send_message called with the params: $VAR1 = {
'verbose' => 0,
'where' => 'letter_code=\'test\'',
'letter_code' => [],
'type' => [],
'limit' => undef
};
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list