It would be helpful to run misc/maintenance/borrowers-force-messaging-defaults.pl with a speficied message name. So apply default category value only on some message (like Item_due) and keep patron choice for the others. Values of message name can be found in : https://git.koha-community.org/Koha-community/Koha/src/branch/master/installer/data/mysql/mandatory/sample_notices_message_attributes.sql
Created attachment 148249 [details] [review] Bug 33239: Add the ability to run borrowers-force-messaging-defaults.pl only on a specified message name Test plan: 1) Select a patron A 2) Change all the message prefs away from defaults. 3) Run misc/maintenance/borrowers-force-messaging-defaults.pl --doit --message-name Item_due Verify that patron A prefs changed only for 'Item due'
Created attachment 148250 [details] [review] Bug 33239: Add the ability to run borrowers-force-messaging-defaults.pl only on a specified message name Test plan: 1) Select a patron A 2) Change all the message prefs away from defaults. 3) Run misc/maintenance/borrowers-force-messaging-defaults.pl --doit --message-name Item_due Verify that patron A prefs changed only for 'Item due'
Created attachment 151696 [details] [review] Bug 33239: Add the ability to run borrowers-force-messaging-defaults.pl only on a specified message name Test plan: 1) Select a patron A 2) Change all the message prefs away from defaults. 3) Run misc/maintenance/borrowers-force-messaging-defaults.pl --doit --message-name Item_due Verify that patron A prefs changed only for 'Item due' Signed-off-by: Sam Lau <samalau@gmail.com>
Created attachment 155137 [details] [review] Bug 33239: Add the ability to run borrowers-force-messaging-defaults.pl only on a specified message name Test plan: 1) Select a patron A 2) Change all the message prefs away from defaults. 3) Run misc/maintenance/borrowers-force-messaging-defaults.pl --doit --message-name Item_due Verify that patron A prefs changed only for 'Item due' Signed-off-by: Sam Lau <samalau@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 155138 [details] [review] Bug 33239: (QA follow-up) Tidy and improve description Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master for 23.11. Nice work everyone, thanks!
Enhancement not pushed to 23.05.x