Bug 22914: Add holds column to batch item delete to fix show/hide columns behaviour
commitbb06060c4c3e0f4393f24096400ee4c8312a44ec
authorLucas Gass <lucas@bywatersolutions.com>
Mon, 13 May 2019 18:05:38 +0000 (13 18:05 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 30 May 2019 10:15:19 +0000 (30 10:15 +0000)
treeb6481fd1f5c14b5cf7ca66695343a5101a9b1397
parent427e4ebc6ba4d52154bc8330b8edf54d5a6b88b2
Bug 22914: Add holds column to batch item delete to fix show/hide columns behaviour

The changes on 19490 caused a bug, where the show/hide column feature hides the
wrong column on the items table. The two templates share a js file, and
the data passed is the same.

Adding the column to the template brings things back into alignment,
the data is already there, we just show it.

TEST PLAN:
1. Go to Tools > Batch item deletion and enter at least one barcode.
2. Try to hide a column that is showing
3. Notice it hides the wrong column
4. apply patch
5. repeat steps 1 and 2.
6. Notice the correct column is being hidden
7. Verify the new column for number of holds on the item works correctly
   for item and record level holds

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt