Bug 30177: When editing an existing patron set message_prefs_dirty to true
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 24 Feb 2022 16:17:11 +0000 (16:17 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 17 Mar 2022 21:22:56 +0000 (11:22 -1000)
commit9b3bad3eeaba2620b64ae6aa7639b7cf6435522a
tree7bb5540033a83ea493d32a1e42c16a38b8e218da
parent6aea5d821291bf31e959cdd5aaa94986121b4c34
Bug 30177: When editing an existing patron set message_prefs_dirty to true

1 - Define default messaging preferences for a patron category
2 - Go into an existing account and change the patron category to the
    one set in step 1.
3 - Confirm that the messaging prefs have been reset to that of the
    default patron category
4 - Apply patch
5 - Repeat Step 2, this time you should see a warning asking if you want
    to set messaging prefs to the category default
6 - Press OK and save. Confirm that the messaging prefs are now set to
    the default for that category
7 - Try it again with an existing account and press Cancel this time.
    Notice that there should be no change to the patron messaging prefs.
8 - Try making a new patron and switching the category, you should see
    no warning and the message prefs should be proberly set to the
    defaults of any category you choose.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js