Bugzilla – Attachment 153558 Details for
Bug 34181
Batch patron modification tool missing checkboxes to clear field values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34181: Fix jQuery selector to make delete checkboxes reappear
Bug-34181-Fix-jQuery-selector-to-make-delete-check.patch (text/plain), 1.85 KB, created by
ByWater Sandboxes
on 2023-07-17 14:31:01 UTC
(
hide
)
Description:
Bug 34181: Fix jQuery selector to make delete checkboxes reappear
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-07-17 14:31:01 UTC
Size:
1.85 KB
patch
obsolete
>From 603e233958931bf00c85fc0ea705e707fde26c1d Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 16 Jul 2023 14:11:19 +0000 >Subject: [PATCH] Bug 34181: Fix jQuery selector to make delete checkboxes > reappear > >Bug 32257 changed the page structure slightly to fix a display >issue with the labels. This resulted in a broken selector in the >function for displaying the checkboxes for deleting/emptying a >certain patron field. > >To test: >* Go to Tools > Batch patron modifications >* Enter some cardnumbers or borrowernumbers >* On the batch patron edit form, verify that the checkboxes > behind each input field are missing >* Apply patch >* Verify the checkboxes reappeared > * Verify that for mandatory fields the checkbox is locked >* Make some batch edits and verify the checkboxes work as > intended > >Signed-off-by: Lisette Scheer <lisette.scheer@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >index fdd054868a..52d916c189 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >@@ -514,7 +514,7 @@ > var selected_option = $(select_attr).find("option:selected"); > var type = $(selected_option).attr('data-type'); > var category = $(selected_option).attr('data-category'); >- var li_node = $(select_attr).parent().parent(); >+ var li_node = $(select_attr).parent(); > var span = $(li_node).find('span.patron_attributes_value'); > var information_category_node = $(li_node).find('span.information_category'); > information_category_node.html(""); >-- >2.30.2
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 34181
:
152920
|
153521
|
153558
|
153662