Bugzilla – Attachment 190771 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
0001-Bug-21555-Disable-merge-patrons-button-when-using-se.patch (text/plain), 1.50 KB, created by
Emmi Takkinen
on 2025-12-30 11:19:03 UTC
(
hide
)
Description:
Bug 21555: Disable merge patrons button when using select all
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2025-12-30 11:19:03 UTC
Size:
1.50 KB
patch
obsolete
>From f40b86518efb200720f80a1fdc6c7d5ca203a44f 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 >Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >--- > 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 e81b6aedd2..de656f42d9 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.34.1 >
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
| 190771