]> git.koha-community.org Git - koha.git/commit
Bug 28418: Show template_id of MARC modification templates
authorOwen Leonard <oleonard@myacpl.org>
Fri, 21 May 2021 18:10:14 +0000 (18:10 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Jul 2021 11:56:50 +0000 (07:56 -0400)
commitc265428e13cbac7a09ebcdec3ec548cf9159db5c
tree7934caca02512fd971efea594691e5e9c6ce0e13
parent572e72d46780fe429fb49609bdbd75acbb84a877
Bug 28418: Show template_id of MARC modification templates

This patch adds an "id" column to the table of MARC modification
templates. The table is now a DataTable with table settings, with the
new column hidden by default to preserve the existing configuration.

To test, apply the patch and restart services.

 - Go to Administration -> MARC modification templates.
 - If necessary, add two or more templates.
 - Confirm that table of templates displays as a DataTable, with all
   associated sorting, filtering, export, etc.
 - The "id" column should be hidden by default.
 - Confirm that column visibility controls work correctly.
 - Confirm that the table settings found under Administration -> Table
   settings work correctly to set the default visibility of the table
   columns.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt
koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js