Bug 26213

Summary: Remove the use of jquery.checkboxes plugin when adding orders from MARC file
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: aleisha, amit.gupta, amitddng135, lucas, testopia, victor
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.11.00, 20.05.04, 19.11.10
Circulation function:
Bug Depends on:    
Bug Blocks: 26006    
Attachments: Bug 26213: Remove the use of jquery.checkboxes plugin when adding orders from MARC file
Bug 26213: Remove the use of jquery.checkboxes plugin when adding orders from MARC file
Bug 26213: Remove the use of jquery.checkboxes plugin when adding orders from MARC file

Description Owen Leonard 2020-08-14 14:17:28 UTC
As described in Bug 26006 the jquery.checkboxes plugin is old and unmaintained. 

Its use should be replaced when adding orders to a basket from a MARC file.
Comment 1 Owen Leonard 2020-08-14 14:31:47 UTC Comment hidden (obsolete)
Comment 2 Amit Gupta 2020-08-17 16:05:49 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2020-08-17 21:51:57 UTC
Created attachment 108420 [details] [review]
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>
Comment 4 Jonathan Druart 2020-08-18 15:48:13 UTC
Pushed to master for 20.11, thanks to everybody involved!
Comment 5 Lucas Gass (lukeg) 2020-09-04 15:14:46 UTC
backported to 20.05.x for 20.05.04
Comment 6 Aleisha Amohia 2020-09-10 03:39:23 UTC
backported to 19.11.x for 19.11.10
Comment 7 Victor Grousset/tuxayo 2020-09-20 18:11:37 UTC
Not backported to oldoldstable (19.05.x). Feel free to ask if it's needed.