Bugzilla – Attachment 150421 Details for
Bug 33637
Batch patron modification broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33637: Update tab ids for batch modification form
Bug-33637-Update-tab-ids-for-batch-modification-fo.patch (text/plain), 1.89 KB, created by
Lucas Gass (lukeg)
on 2023-04-28 22:28:58 UTC
(
hide
)
Description:
Bug 33637: Update tab ids for batch modification form
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-04-28 22:28:58 UTC
Size:
1.89 KB
patch
obsolete
>From 6a000183c5007e7145c1bb2b6b8bc7c1cc1caae5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 28 Apr 2023 15:56:54 +0000 >Subject: [PATCH] Bug 33637: Update tab ids for batch modification form > >This patch adjusts the ids in the submit function > >To test: >1 - Browse to tools -> Batch patron modification >2 - Enter cardnumbers and submit >3 - No patrons >4 - Enter borrowernumbers and submit >5 - No patrons >6 - Apply patch >7 - Repeat >8 - Success, patrons are listed > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >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..1d7e80e6c6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >@@ -482,11 +482,11 @@ > $("#patron_batchmod_form").on("submit", function(){ > /* Reset form fields on inactive tabs */ > var tab = $(this).find('ul.nav-tabs li.active a').attr('href'); >- if ( tab == '#usecardnumber' ) { >+ if ( tab == '#usecardnumber_panel' ) { > $("#borrowernumberuploadfile, #patron_list_id, #borrowernumberlist").val(""); >- } else if ( tab == '#useborrowernumber' ) { >+ } else if ( tab == '#useborrowernumber_panel' ) { > $("#cardnumberuploadfile, #cardnumberlist, #patron_list_id").val(""); >- } else { // uselist >+ } else { // uselist_panel > $("#borrowernumberuploadfile, #cardnumberuploadfile, #borrowernumberlist, #cardnumberlist").val(""); > } > }); >-- >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 33637
:
150394
|
150418
| 150421