From fd1c8ce9c9865d2f52b68249fb3c1c0c8b6bc0bf Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 25 Mar 2026 15:18:18 +0000 Subject: [PATCH] Bug 42169: Unify patron category change popups To test: 1. APPLY PATCH, restart_all 2. Go to Administration > Patron categories 3. Edit or create some categories with different Enrollment periods and messaaging preferences 4. Find or create some patrons in different categories than the ones setup in step 3. 5. Edit the patron and change the category to one setup in step 3. 6. Notice a popup asking about both patron expiratoin date and messaging preferences, both should be checked by default. 7. Confirm and check that both the patron expiration date and messaging preferences updated to the category defaults. 8. Try again, checking only one of the 2 checkboxes. Make sure things updated correctly. Try this with both checkboxes. Signed-off-by: John Vinke Signed-off-by: Emily Lamancusa Signed-off-by: Lucas Gass (cherry picked from commit 0809d09222aee341b281686900385e67b4bef40a) Signed-off-by: Jacob O'Mara --- .../prog/en/modules/members/memberentrygen.tt | 21 ++- koha-tmpl/intranet-tmpl/prog/js/members.js | 18 --- .../prog/js/messaging-preference-form.js | 139 +++++++++++------- 3 files changed, 98 insertions(+), 80 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 1d6ef39337..03df656c0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1674,24 +1674,31 @@ -