Bug 13572: Add --actives parameter to force_borrower_messaging_defaults script
authorcharles <charles.farmer@inlibro.com>
Thu, 15 Dec 2016 15:58:23 +0000 (10:58 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Oct 2017 14:52:12 +0000 (11:52 -0300)
commit93354ff3f1fdad170ad5d89fed0fa019c746027a
treee3a320ea809f015edb4a6cdd2f0c6fc0cf47c515
parent9416fdca36f98860fca285dcb77835a0d702f401
Bug 13572: Add --actives parameter to force_borrower_messaging_defaults script

1) Apply the patch
2) Create a new patron with random values, except for it expiration date, make it expired (Patrons > New Patron > Student)
3) Enable the system preference called “EnhancedMessagingPreferences”
4) In “Administration" > "Patron categories" > Student, modify the "days in advance", then click "Save"
5) run the script "./misc/maintenance/borrowers-force-messaging-defaults --doit --actives"
6) Validate that the student created in step 2 hasn't changed (Patrons > search)
7) Validate that any other student that isn't expired has changed.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/maintenance/borrowers-force-messaging-defaults