From b591a657102d298b8f58488f598996b81fd3b8e1 Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Tue, 9 Sep 2025 14:58:13 +0000 Subject: [PATCH] Bug 21555: Disable merge patrons button when using select all This patch disables the merge patrons button when select all is clicked. The button is re-enabled after clicking clear all or manually changing the selection. To test: 1. Do a patron search 2. Select at least 2 patrons 3. The merge patron button is enabled 4. Click select all 5. The merge patron button is still enabled 6. Apply patch and refresh browser 7. Click select alll 8. The merge patron button is not enabled anymore 9. Change the selection manually 10. Confirm the merge patron button is re-enabled Sponsored-by: CLAMS Signed-off-by: Emmi Takkinen Signed-off-by: Laura_Escamilla --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index e81b6aedd2d..de656f42d98 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -294,6 +294,7 @@ $(this).prop("checked", true).change(); } }); + $("#merge-patrons").prop("disabled", true); }); $("#clear_all").on("click", function (e) { e.preventDefault(); -- 2.39.5