From 45f5edc7c174714d66180a6ab0fc7aa7abd65222 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 7 Jul 2023 12:19:27 +0000 Subject: [PATCH] Bug 34225: KohaTable broken on batch item deletion and modification results This patch adds the columns_settings include file to the batch item modification and batch item deletion templates so that the tables can be rendered as DataTables. To test, apply the patch and go to Cataloging -> Batch item modification. - Submit a batch of barcodes or item numbers for modification. - On the next page which shows all the items you submitted, the table should be rendered as a DataTable. - Confirm that sorting, filtering, and export all work correctly. - Confirm that there are not JS errors in the browser console. - Perform the same tests on Cataloging -> Batch item deletion. Signed-off-by: Sam Lau Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 8813c23a79cae05b8eb3a176bea5fa755bf1ee6a) Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 1 + koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt index 79908a3a0b..1608d37c64 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt @@ -189,6 +189,7 @@ [% MACRO jsinclude BLOCK %] [% Asset.js("js/tools-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] [% Asset.js("js/pages/batchMod.js") | $raw %] [% Asset.js("js/browser.js") | $raw %]