Bug 33204: Add the ability to filter on patron library for borrowers-force-messaging...
authorFridolin Somers <fridolin.somers@biblibre.com>
Sat, 11 Mar 2023 06:32:56 +0000 (20:32 -1000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 10 Oct 2023 13:54:06 +0000 (10:54 -0300)
commit20a3b135164cd6a719af6c9c7b54f9abc121a9e7
treea7b24cf8f3909f4e9f8fe0a80f017c4838ea6a65
parent813aaa69699d98cdef11ed7097fcf426df2f68ef
Bug 33204: Add the ability to filter on patron library for borrowers-force-messaging-defaults.pl

Like filter on category Bug 19454, it would be helpful to filter on a specified library for misc/maintenance/borrowers-force-messaging-defaults.pl

Test plan:
1) Select two patrons A and B in say libraries L1 and L2.
2) Change the msg prefs for A and B away from defaults.
3) Run misc/maintenance/borrowers-force-messaging-defaults.pl -doit -library L1
    Verify that patron A changed and patron B did not.
4) Run with both category and library filters

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/maintenance/borrowers-force-messaging-defaults.pl