]> git.koha-community.org Git - koha.git/commit
Bug 30884: Fix jQuery selector to correctly detect active tab
authorSlava Shishkin <slavashishkin@gmail.com>
Fri, 3 Jun 2022 14:47:46 +0000 (17:47 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 15 Jun 2022 16:19:35 +0000 (16:19 +0000)
commit6aa9f6dd503d5e7d2532a25e721cef2fd9ccb478
treea40c29cea480befd5f9156af43ff4ca79eb3c6c9
parent8bcba5be886eb759176b20ed2fe8e056d2fc2fa2
Bug 30884: Fix jQuery selector to correctly detect active tab

To reproduce:
1. Go to /tools/modborrowers.pl and fill form Card number list with data and click Continue.
2. It should give "No patron card numbers or borrowernumbers given." warning.
3. Using the browser inspector tool see that post fields cardnumberlist or borrowernumberlist
   is sent with empty data.

Apply the patch, and then:
1. Fill form Card number or Borrowernumber list and click Continue.
2. Get the result: table with patrons for editing or warning about not found number.
3. Using the inspector tool see that request has data from the active tab in the form.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f0062c67d6628ded2db76a9bb16a44e694acbaac)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt