Bugzilla – Attachment 186304 Details for
Bug 21555
Merging Patrons allows for all patrons to be selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21555: Disable merge patrons button when using select all
Bug-21555-Disable-merge-patrons-button-when-using-.patch (text/plain), 1.44 KB, created by
Brendan Lawlor
on 2025-09-09 15:07:56 UTC
(
hide
)
Description:
Bug 21555: Disable merge patrons button when using select all
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2025-09-09 15:07:56 UTC
Size:
1.44 KB
patch
obsolete
>From 15b4a64237cc83f486322a3fe5deeae154dc87d5 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >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 >--- > 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 fb42e1d5b7..2b2d7dec96 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21555
: 186304