]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 21 Jun 2022 13:51:39 +0000 (15:51 +0200)
commitbadc8ff6520ba98cb7fe4a1e3067c5d9919c4984
treeb53a93a657e197282810a83a45cb4802482adfe4
parent4855d41952e3737f92f57a1ad2197472d47681b6
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>
(cherry picked from commit 6aa9f6dd503d5e7d2532a25e721cef2fd9ccb478)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt