]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Aug 2021 20:06:27 +0000 (10:06 -1000)
commitcec5d18c69a8dfc6c9aa6215c8c803d76599bc53
tree32339a0e21381868c6fd25c8f38901d42f5dad43
parent53c68b937949e3b88e8a30c3669aa5c44255feb0
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>
(cherry picked from commit c265428e13cbac7a09ebcdec3ec548cf9159db5c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.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