Bug 26213: Remove the use of jquery.checkboxes plugin when adding orders from MARC...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 14 Aug 2020 14:18:00 +0000 (14:18 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 4 Sep 2020 15:00:18 +0000 (15:00 +0000)
commitf681964591ba1efde4c1c8c032c344b85c1d1815
tree55336c7d64212f25d6469087da2d76f1b8e1021d
parent729432170d0a18b69f3f4e597c530cfe869f6b15
Bug 26213: Remove the use of jquery.checkboxes plugin when adding orders from MARC file

This patch removes the use of the jquery.checkboxes plugin from the page
for adding orders to a basket from a staged MARC file.

This patch fixes an unreported bug wherein the "select all" and "clear
all" controls affected not only MARC record checkboxes but also the
"show inactive funds" checkboxes.

To test, apply the patch and go to Acquisitions.

- Go to Vendor -> Add to basket -> From a staged file.
- Select a staged file with multiple records.
- Test the "Select all" and "Clear all" links at the top of the "Select
  to import" tab. They should work correctly to select and deselect
  checkboxes corresponding to staged MARC records.

Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8344ee7b4ced266ac7bd48254f4695175fd8f19b)

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